Skip to content

Commit

Permalink
C++: Navio: Common: fix initialize bug
Browse files Browse the repository at this point in the history
Change PERI_BASE for raspberry 3
  • Loading branch information
Igor Anokhin authored and staroselskii committed Nov 17, 2017
1 parent 49844d3 commit af0b203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C++/Navio/Common/gpio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/* Raspberry Pi GPIO memory */
#define BCM2708_PERI_BASE 0x20000000
#define BCM2709_PERI_BASE 0x3F000000
#define BCM2835_PERI_BASE 0x20000000
#define BCM2835_PERI_BASE 0x3F000000
#define GPIO_BASE(address) (address + 0x200000)
#define PAGE_SIZE (4*1024)
#define BLOCK_SIZE (4*1024)
Expand Down

0 comments on commit af0b203

Please sign in to comment.