diff --git a/src/Kaleidoscope-Hardware-Model01.cpp b/src/Kaleidoscope-Hardware-Model01.cpp index 911e7d79..c51b9661 100644 --- a/src/Kaleidoscope-Hardware-Model01.cpp +++ b/src/Kaleidoscope-Hardware-Model01.cpp @@ -190,7 +190,7 @@ void Model01::reboot_bootloader() { // Caterina.c uint16_t bootKey = 0x7777; - uint16_t *const bootKeyPtr = (uint16_t *)0x0800; + uint16_t *const bootKeyPtr = reinterpret_cast(0x0800); // Stash the magic key *bootKeyPtr = bootKey;