Skip to content

Commit b599ee3

Browse files
daevangelionkbeckmann
authored andcommitted
chore(deps): handle relocation of set_sys_clock_khz
set_sys_clock_khz was relocated to <hardware/clocks.h> in 1.6.2+
1 parent 2d88074 commit b599ee3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sw/picocart64_v1/picocart64_v1.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
#include "hardware/flash.h"
1616
#include "hardware/irq.h"
1717

18+
#if PICO_SDK_VERSION_MAJOR >= 2 || (PICO_SDK_VERSION_MAJOR == 1 && (PICO_SDK_VERSION_MINOR > 6 || PICO_SDK_VERSION_MINOR == 6 && PICO_SDK_VERSION_REVISION >= 2 ))
19+
/* https://github.com/raspberrypi/pico-sdk/issues/712 */
20+
#include "hardware/clocks.h"
21+
#endif
22+
23+
1824
#include "stdio_async_uart.h"
1925

2026
#include "n64_cic.h"

0 commit comments

Comments
 (0)