diff --git a/samples/bluetooth/peripheral_ht/src/hts.c b/samples/bluetooth/peripheral_ht/src/hts.c index 56ea00646a5..b8a584eaab2 100644 --- a/samples/bluetooth/peripheral_ht/src/hts.c +++ b/samples/bluetooth/peripheral_ht/src/hts.c @@ -26,7 +26,7 @@ #include #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