From b56c6eb6978374e97b36e6b07e5ebffcc5096ff5 Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Wed, 5 Oct 2022 16:45:00 +0530 Subject: [PATCH] samples: Bluetooth: Fix peripheral_ht compile error Fix peripheral_ht compile error introduced in commit a202341958c0 ("devices: constify device pointers initialized at compile time"). Signed-off-by: Vinayak Kariappa Chettimada --- samples/bluetooth/peripheral_ht/src/hts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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