Skip to content
Commit c9e6ac54 authored by Charles Dias's avatar Charles Dias Committed by Anas Nashif
Browse files

samples: maxim_ds3231: increase variable size in min_alarm_handler



Change the variable name from **us** to **ms** and increase its size
to **uint16_t** within the min_alarm_handler function. This update
allows the function to correctly handle the millisecond values in the
range of 0 to 999.

Signed-off-by: default avatarCharles Dias <charlesdias.cd@outlook.com>
parent 434a4047
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment