Skip to content

Commit 2ef50b7

Browse files
finneyjmicrobit-carlos
authored andcommitted
Use 32 bit addressing for limit macros
1 parent d597f0c commit 2ef50b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/MicroBitConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
#ifdef SOFTDEVICE_PRESENT
6060
#define MICROBIT_STORAGE_PAGE ( MICROBIT_BOOTLOADER_ADDRESS - MICROBIT_CODEPAGESIZE * 3)
6161
#else
62-
#define MICROBIT_STORAGE_PAGE ( 0x7F000 )
62+
#define MICROBIT_STORAGE_PAGE ( 0x0007F000 )
6363
#endif
6464
#endif
6565

@@ -71,7 +71,7 @@
7171
#ifdef SOFTDEVICE_PRESENT
7272
#define MICROBIT_DEFAULT_SCRATCH_PAGE ( MICROBIT_BOOTLOADER_ADDRESS - MICROBIT_CODEPAGESIZE * 4)
7373
#else
74-
#define MICROBIT_DEFAULT_SCRATCH_PAGE ( 0x7E000 )
74+
#define MICROBIT_DEFAULT_SCRATCH_PAGE ( 0x0007E000 )
7575
#endif
7676
#endif
7777

0 commit comments

Comments
 (0)