fix esp8266 compile

This commit is contained in:
Jason2866 2022-07-06 21:48:00 +02:00 committed by GitHub
parent f4851dbf55
commit 55b2018fed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2886,7 +2886,9 @@ init10:
RtcSettings.pulse_counter[i] = Settings->pulse_counter[i];
sml_counters[i].sml_cnt_last_ts = millis();
}
#ifdef ESP32
uint32_t uart_index = SOC_UART_NUM - 1;
#endif
sml_counter_pinstate = 0;
for (uint8_t meters = 0; meters < meters_used; meters++) {
if (meter_desc_p[meters].type == 'c') {