qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

commit 7ddf3c28f46f8582c897ad118c28734cd9332841
parent a678f4a206f88cb2dc99be260da4d5030b1adeaa
Author: Chris Dosé <chris.dose@gmail.com>
Date:   Sun,  2 Jun 2019 13:34:17 -0700

Fixes compile errors for massdrop keyboards

Diffstat:
tmk_core/protocol/arm_atsam/md_bootloader.h | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tmk_core/protocol/arm_atsam/md_bootloader.h b/tmk_core/protocol/arm_atsam/md_bootloader.h @@ -11,7 +11,7 @@ extern uint32_t _erom; //WARNING: These are only for CTRL bootloader release "v2.18Jun 22 2018 17:28:08" for bootloader_jump support extern uint32_t _eram; #define BOOTLOADER_MAGIC 0x3B9ACA00 -#define MAGIC_ADDR (uint32_t *)(&_eram - 4) +#define MAGIC_ADDR (uint32_t *)((intptr_t)(&_eram) - 4) #endif #ifdef MD_BOOTLOADER @@ -22,4 +22,3 @@ extern uint32_t _eram; #endif //MD_BOOTLOADER #endif //_MD_BOOTLOADER_H_ -