Commit 3d4e44da authored by Alessandro Rubini's avatar Alessandro Rubini

config: define temp threshold/rappel even if not developer

Otherwise, if we have syslog we fail building:

  lib/syslog.c:197:23: error: 'CONFIG_TEMP_HIGH_THRESHOLD' undeclared

(thanks randconfig)
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 02b0481f
......@@ -30,6 +30,13 @@ config TEMP_POLL_INTERVAL
int
default 15
config TEMP_HIGH_THRESHOLD
int
default 70
config TEMP_HIGH_RAPPEL
int
default 60
config PLL_VERBOSE
boolean
default y if WR_SWITCH
......@@ -317,12 +324,10 @@ config TEMP_POLL_INTERVAL
config TEMP_HIGH_THRESHOLD
depends on DEVELOPER && WR_NODE && SYSLOG
default 70
int "Threshold for temperature: tell syslog if higher"
config TEMP_HIGH_RAPPEL
depends on DEVELOPER && WR_NODE && SYSLOG
default 60
int "Remember over-temperature every that many seconds"
config CMD_LL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment