mirror of
https://github.com/captain-amygdala/pistorm.git
synced 2026-04-05 04:34:23 +00:00
Fix up some GPIO input/output defines
This commit is contained in:
@@ -55,11 +55,11 @@
|
||||
#define GPIO_PULL *(gpio + 37) // Pull up/pull down
|
||||
#define GPIO_PULLCLK0 *(gpio + 38) // Pull up/pull down clock
|
||||
|
||||
#define GPFSEL0_INPUT 0x0024c240
|
||||
#define GPFSEL0_INPUT 0x00244240
|
||||
#define GPFSEL1_INPUT 0x00000000
|
||||
#define GPFSEL2_INPUT 0x00000000
|
||||
|
||||
#define GPFSEL0_OUTPUT 0x0924c240
|
||||
#define GPFSEL0_OUTPUT 0x09244240
|
||||
#define GPFSEL1_OUTPUT 0x09249249
|
||||
#define GPFSEL2_OUTPUT 0x00000249
|
||||
|
||||
|
||||
Reference in New Issue
Block a user