Browse Source

Export max system check for build configuration

rfm69
Ly Minh Phuong 6 years ago
parent
commit
4ebdae6131
2 changed files with 5 additions and 2 deletions
  1. +1
    -0
      code/.gitignore
  2. +4
    -2
      code/espurna/config/general.h

+ 1
- 0
code/.gitignore View File

@ -7,3 +7,4 @@ core_version.h
.pioenvs
.piolibdeps
.DS_Store
.python-version

+ 4
- 2
code/espurna/config/general.h View File

@ -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


Loading…
Cancel
Save