This commit is contained in:
mstroh76
2024-04-15 12:49:38 +02:00
parent e7726a4f0a
commit 34b0f368a7
2 changed files with 19 additions and 13 deletions

View File

@@ -2548,8 +2548,8 @@ int wiringPiGlobalMemoryAccess(void)
if (PI_MODEL_5 == RaspberryPiModel) {
gpiomemGlobal = pciemem_RP1;
MMAP_size = pciemem_RP1_Size;
BaseAddr = (RP1_IO0_Addr-RP1_BASE_Addr) ;
PWMAddr = RP1_PWM0_Addr-RP1_BASE_Addr;
BaseAddr = 0x00000000;
PWMAddr = 0x00000000; //not supported so far
} else {
gpiomemGlobal = gpiomem_global;
MMAP_size = BLOCK_SIZE;