Browse Source

Merge pull request #679 from phuonglm/improves/export-system-check-max

Export max system check for build configuration
rfm69
Xose Pérez 6 years ago
committed by GitHub
parent
commit
9776672f0e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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