We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2681fa3 + 49207fb commit 0e08667Copy full SHA for 0e08667
ports/atmel-samd/common-hal/watchdog/WatchDogTimer.c
@@ -70,7 +70,7 @@ void setup_wdt(watchdog_watchdogtimer_obj_t *self, int setting) {
70
}
71
72
void common_hal_watchdog_set_timeout(watchdog_watchdogtimer_obj_t *self, mp_float_t new_timeout) {
73
- int wdt_cycles = (int)(new_timeout * 1000);
+ int wdt_cycles = (int)(new_timeout * 1024);
74
if (wdt_cycles < 8) {
75
wdt_cycles = 8;
76
0 commit comments