From 4ebdae6131e5c63243a83037840314b75a4b195a Mon Sep 17 00:00:00 2001 From: Ly Minh Phuong Date: Thu, 15 Mar 2018 19:03:40 +0700 Subject: [PATCH] Export max system check for build configuration --- code/.gitignore | 1 + code/espurna/config/general.h | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/code/.gitignore b/code/.gitignore index 1d66a1d5..28fb16ac 100644 --- a/code/.gitignore +++ b/code/.gitignore @@ -7,3 +7,4 @@ core_version.h .pioenvs .piolibdeps .DS_Store +.python-version \ No newline at end of file diff --git a/code/espurna/config/general.h b/code/espurna/config/general.h index 2f90bed4..b0f30c0d 100644 --- a/code/espurna/config/general.h +++ b/code/espurna/config/general.h @@ -61,8 +61,8 @@ #ifndef SERIAL_RX_PORT #define SERIAL_RX_PORT Serial // This setting is usually defined - // in the hardware.h file for those - // boards that require it + // in the hardware.h file for those + // boards that require it #endif #ifndef SERIAL_RX_BAUDRATE @@ -139,8 +139,10 @@ #endif #define SYSTEM_CHECK_TIME 60000 // The system is considered stable after these many millis +#ifndef SYSTEM_CHECK_MAX #define SYSTEM_CHECK_MAX 5 // After this many crashes on boot // the system is flagged as unstable +#endif //------------------------------------------------------------------------------ // EEPROM