From 895356846192a82fe8c1cf430572ba47ebf6f52e Mon Sep 17 00:00:00 2001 From: captroy <57263418+captroy@users.noreply.github.com> Date: Mon, 20 Sep 2021 14:40:45 -0400 Subject: [PATCH] Update pi_fm_rds.c Updating values to support pi 4's. --- src/pi_fm_rds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pi_fm_rds.c b/src/pi_fm_rds.c index 7423869..7ef44ad 100644 --- a/src/pi_fm_rds.c +++ b/src/pi_fm_rds.c @@ -126,8 +126,8 @@ #elif (RASPI)==4 #define PERIPH_VIRT_BASE 0xfe000000 #define PERIPH_PHYS_BASE 0x7e000000 -#define DRAM_PHYS_BASE 0xc0000000 -#define MEM_FLAG 0x04 +#define DRAM_PHYS_BASE 0x40000000 +#define MEM_FLAG 0x0c #define PLLFREQ 750000000. #else #error Unknown Raspberry Pi version (variable RASPI)