1
0
Fork 0

Fixes compile errors for massdrop keyboards

This commit is contained in:
Chris Dosé 2019-06-02 13:34:17 -07:00 committed by Drashna Jaelre
parent a678f4a206
commit 7ddf3c28f4

View file

@ -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 //WARNING: These are only for CTRL bootloader release "v2.18Jun 22 2018 17:28:08" for bootloader_jump support
extern uint32_t _eram; extern uint32_t _eram;
#define BOOTLOADER_MAGIC 0x3B9ACA00 #define BOOTLOADER_MAGIC 0x3B9ACA00
#define MAGIC_ADDR (uint32_t *)(&_eram - 4) #define MAGIC_ADDR (uint32_t *)((intptr_t)(&_eram) - 4)
#endif #endif
#ifdef MD_BOOTLOADER #ifdef MD_BOOTLOADER
@ -22,4 +22,3 @@ extern uint32_t _eram;
#endif //MD_BOOTLOADER #endif //MD_BOOTLOADER
#endif //_MD_BOOTLOADER_H_ #endif //_MD_BOOTLOADER_H_