zephyr/drivers/sensor/maxim
Stephan Linz 98cf437d7a drivers: sensor: maxim,ds3231: avoid compilation error
As the C language treats 'cases' similar to 'labels' the following
error can also occur when using switch statements when it encounters
a declaration immediately after a label:

drivers/sensor/maxim/ds3231/ds3231.c:77:3: error: a label can only
        be part of a statement and a declaration is not a statement
   77 |   const uint16_t raw_temp = data->raw_temp;
      |   ^~~~~

Signed-off-by: Stephan Linz <linz@li-pro.net>
2025-02-05 01:16:03 +01:00
..
ds18b20
ds3231 drivers: sensor: maxim,ds3231: avoid compilation error 2025-02-05 01:16:03 +01:00
max6675
max17055
max17262
max30101
max31790
max31855
max31865
max31875
max44009
CMakeLists.txt drivers: rtc: maxim,ds3231: RTC driver 2025-01-07 23:00:05 +01:00
Kconfig drivers: rtc: maxim,ds3231: RTC driver 2025-01-07 23:00:05 +01:00