Skip to content

Commit 705de7b

Browse files
committed
mlx90640: Add hardware/clocks for set_sys_clock_khz.
1 parent 9088320 commit 705de7b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/breakout_mlx90640/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ add_executable(
66
)
77

88
# Pull in pico libraries that we need
9-
target_link_libraries(${OUTPUT_NAME} pico_stdlib mlx90640 hub75_legacy hardware_vreg)
9+
target_link_libraries(${OUTPUT_NAME} pico_stdlib mlx90640 hub75_legacy hardware_vreg hardware_clocks)
1010

1111
# create map/bin/hex file etc.
1212
pico_add_extra_outputs(${OUTPUT_NAME})

examples/breakout_mlx90640/demo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "pico/stdlib.h"
22
#include "hardware/vreg.h"
3+
#include "hardware/clocks.h"
34
#include "stdio.h"
45

56
#include <algorithm>

0 commit comments

Comments
 (0)