mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #13859 from disconnect3d/patch-1
shell_commands/rtc: Fix off by one when checking for clearalarm command
This commit is contained in:
commit
608207c4fa
@ -161,7 +161,7 @@ int _rtc_handler(int argc, char **argv)
|
||||
else if (strncmp(argv[1], "poweroff", 8) == 0) {
|
||||
rtc_poweroff();
|
||||
}
|
||||
else if (strncmp(argv[1], "clearalarm", 8) == 0) {
|
||||
else if (strncmp(argv[1], "clearalarm", 10) == 0) {
|
||||
rtc_clear_alarm();
|
||||
}
|
||||
else if (strncmp(argv[1], "getalarm", 8) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user