Skip to content

Commit

Permalink
samples: Bluetooth: Fix peripheral_ht compile error
Browse files Browse the repository at this point in the history
Fix peripheral_ht compile error introduced in
commit a202341 ("devices: constify device pointers
initialized at compile time").

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
  • Loading branch information
cvinayak authored and fabiobaltieri committed Oct 5, 2022
1 parent 8e1ade2 commit b56c6eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/bluetooth/peripheral_ht/src/hts.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <zephyr/bluetooth/gatt.h>

#ifdef CONFIG_TEMP_NRF5
static const struct device *const temp_dev = DEVICE_DT_GET_ANY(nordic_nrf_temp);
static const struct device *temp_dev = DEVICE_DT_GET_ANY(nordic_nrf_temp);
#else
static const struct device *temp_dev;
#endif
Expand Down

0 comments on commit b56c6eb

Please sign in to comment.