Skip to content

Commit 4a5f9b8

Browse files
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.
1 parent f9da60f commit 4a5f9b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/x86/up2.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ mraa_up2_board()
101101
b->platform_version = PLATFORM_VERSION;
102102
b->phy_pin_count = MRAA_UP2_PINCOUNT;
103103
b->gpio_count = MRAA_UP2_GPIOCOUNT;
104-
b->chardev_capable = 1;
104+
b->chardev_capable = 0;
105105

106106
b->pins = (mraa_pininfo_t*) malloc(sizeof(mraa_pininfo_t) * MRAA_UP2_PINCOUNT);
107107
if (b->pins == NULL) {

0 commit comments

Comments
 (0)