diff --git a/screeninit/linker.ld b/screeninit/linker.ld index 220fb52..baf1b2f 100755 --- a/screeninit/linker.ld +++ b/screeninit/linker.ld @@ -1,7 +1,7 @@ ENTRY(_start) SECTIONS { - . = 0x24F03000; + . = 0x24F02000; .text.start : { *(.text.start) } .text : { *(.text) } .data : { *(.data) } diff --git a/screeninit/source/main.c b/screeninit/source/main.c index 5d36e47..487a624 100755 --- a/screeninit/source/main.c +++ b/screeninit/source/main.c @@ -3,7 +3,7 @@ void main(void) { const u32 brightness[4] = {0x5F, 0x4C, 0x39, 0x26}; - u32 brightnessLevel = *(vu32 *)0x24F03008; + u32 brightnessLevel = *(vu32 *)0x24F02008; vu32 *const arm11 = (u32 *)0x1FFFFFF8; *(vu32 *)0x10141200 = 0x1007F; diff --git a/source/screeninit.c b/source/screeninit.c index a8eb012..11e6e11 100644 --- a/source/screeninit.c +++ b/source/screeninit.c @@ -12,7 +12,7 @@ #include "i2c.h" #include "../build/screeninit.h" -#define SCREENINIT_ADDRESS 0x24F03000 +#define SCREENINIT_ADDRESS 0x24F02000 vu32 *arm11Entry = (u32 *)0x1FFFFFF8;