Skip to content

Commit 4e816e4

Browse files
authored
Merge pull request #64 from blackleg/override_watchdog
Allow to change watchdog config
2 parents 7a0253d + 8318a40 commit 4e816e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/FreeRTOSVariant.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ extern "C" {
3737
// System Tick - Scheduler timer
3838
// Use the Watchdog timer, and choose the rate at which scheduler interrupts will occur.
3939

40-
#define portUSE_WDTO WDTO_15MS // portUSE_WDTO to use the Watchdog Timer for xTaskIncrementTick
40+
#ifndef portUSE_WDTO
41+
#define portUSE_WDTO WDTO_15MS // portUSE_WDTO to use the Watchdog Timer for xTaskIncrementTick
42+
#endif
4143

4244
/* Watchdog period options: WDTO_15MS
4345
WDTO_30MS

0 commit comments

Comments
 (0)