mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
Improvement: Check CONTACTOR_CONTROL is enabled when using PWM_CONTACTOR_CONTROL
We should make sure that CONTACTOR_CONTROL is enabled when using PWM_CONTACTOR_CONTROL is enabled. Signed-off-by: Christopher Obbard <obbardc@gmail.com>
This commit is contained in:
parent
95f4dd11f5
commit
d1e61a16af
2 changed files with 7 additions and 1 deletions
|
@ -42,6 +42,12 @@
|
|||
#endif // MQTT
|
||||
#endif // WIFI
|
||||
|
||||
#ifndef CONTACTOR_CONTROL
|
||||
#ifdef PWM_CONTACTOR_CONTROL
|
||||
#error CONTACTOR_CONTROL needs to be enabled for PWM_CONTACTOR_CONTROL
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Preferences settings; // Store user settings
|
||||
// The current software version, shown on webserver
|
||||
const char* version_number = "7.4.dev";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue