From ea7db20b08cea7020974da773fe93715b8847cef Mon Sep 17 00:00:00 2001 From: Andreas Ziegler <062.127@gmail.com> Date: Wed, 22 Jul 2020 08:24:05 +0200 Subject: [PATCH] up2.c/x86: Set ```chardev_capable = 0;``` With this change it is possible to activate ISR on a GPIO on the UP2 board and read its state. Signed-off-by: Andreas Ziegler <062.127@gmail.com> --- src/x86/up2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x86/up2.c b/src/x86/up2.c index f27068723..745af2de9 100644 --- a/src/x86/up2.c +++ b/src/x86/up2.c @@ -101,7 +101,7 @@ mraa_up2_board() b->platform_version = PLATFORM_VERSION; b->phy_pin_count = MRAA_UP2_PINCOUNT; b->gpio_count = MRAA_UP2_GPIOCOUNT; - b->chardev_capable = 1; + b->chardev_capable = 0; b->pins = (mraa_pininfo_t*) malloc(sizeof(mraa_pininfo_t) * MRAA_UP2_PINCOUNT); if (b->pins == NULL) {