Move X_CALLBACK_PERIOD_MS to engine_controller.h

This commit is contained in:
andreika-git 2023-11-29 14:35:46 +02:00 committed by rusefillc
parent e55ccb5a57
commit f534d11f9e
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@
#pragma once
#include "engine_controller.h"
// 100 ms is our empiric choice based on 2 * SLOW_CALLBACK_PERIOD_MS
#define WATCHDOG_RESET_MS (2 * SLOW_CALLBACK_PERIOD_MS)
// 300 ms is our default timeout