Fix compilation

This commit is contained in:
Theo Arends 2022-04-06 09:50:48 +02:00
parent 721bb4143b
commit 973354470c
2 changed files with 4 additions and 1 deletions

View File

@ -44,6 +44,9 @@ extern "C" void custom_crash_callback(struct rst_info * rst_info, uint32_t stack
extern "C" void resetPins();
extern "C" int startWaveformClockCycles(uint8_t pin, uint32_t highCcys, uint32_t lowCcys,
uint32_t runTimeCcys, int8_t alignPhase, uint32_t phaseOffsetCcys, bool autoPwm);
#ifdef USE_INFLUXDB
void InfluxDbProcess(bool use_copy = false);
#endif
#ifdef ESP32
#if CONFIG_IDF_TARGET_ESP32 // ESP32/PICO-D4

View File

@ -366,7 +366,7 @@ void InfluxDbProcessJson(bool use_copy = false) {
}
}
void InfluxDbProcess(bool use_copy = false) {
void InfluxDbProcess(bool use_copy) {
if (Settings->sbflag1.influxdb_sensor) {
InfluxDbProcessJson(use_copy);
}