We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2535de7 commit 7755582Copy full SHA for 7755582
src/rp2_common/pico_bootrom/include/pico/bootrom.h
@@ -173,7 +173,7 @@ __force_inline static void *rom_hword_as_ptr(uint16_t rom_address) {
173
174
#ifdef __riscv
175
static __force_inline bool rom_size_is_64k(void) {
176
-#ifdef RASPBERRYPI_FPGA
+#if RASPBERRYPI_FPGA
177
return *(uint16_t*)0x14 >= 0x8000;
178
#else
179
return false;
0 commit comments