Skip to content

Commit

Permalink
Make hello world demo use all user LEDs
Browse files Browse the repository at this point in the history
  • Loading branch information
marnovandermaas committed May 16, 2024
1 parent 2d23ac1 commit 388e8ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sw/legacy/common/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#define GPIO_IN_DBNC_REG 0x8
#define GPIO_OUT_SHIFT_REG 0xC

#define GPIO_OUT_MASK 0xFF // Support 8-bit output
#define GPIO_LED_MASK 0xF0 // Top 4 bits are green LEDs
#define GPIO_OUT_MASK 0x7FFF // Support 15-bit output
#define GPIO_LED_MASK 0x0FF0 // These 8 bits are the user LEDs

typedef void* gpio_t;

Expand Down

0 comments on commit 388e8ff

Please sign in to comment.