Skip to content

Commit

Permalink
up2.c/x86: Set chardev_capable = 0;
Browse files Browse the repository at this point in the history
With this change it is possible to activate ISR on a GPIO on the UP2
board and read its state.
  • Loading branch information
AndreasAZiegler committed Jul 22, 2020
1 parent f9da60f commit 4a5f9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/x86/up2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4a5f9b8

Please sign in to comment.