mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Fix analog reset adcparam 1
This commit is contained in:
parent
88293d7414
commit
a98399367b
@ -215,6 +215,7 @@ void AdcInitParams(uint8_t idx) {
|
|||||||
Adc[idx].param2 = ANALOG_RANGE;
|
Adc[idx].param2 = ANALOG_RANGE;
|
||||||
Adc[idx].param3 = 3; // Margin
|
Adc[idx].param3 = 3; // Margin
|
||||||
Adc[idx].param4 = 0; // Default mode (0) or Direct mode (1) using Dimmer or Channel command
|
Adc[idx].param4 = 0; // Default mode (0) or Direct mode (1) using Dimmer or Channel command
|
||||||
|
break;
|
||||||
case ADC_TEMP:
|
case ADC_TEMP:
|
||||||
// Default Shelly 2.5 and 1PM parameters
|
// Default Shelly 2.5 and 1PM parameters
|
||||||
Adc[idx].param1 = ANALOG_NTC_BRIDGE_RESISTANCE;
|
Adc[idx].param1 = ANALOG_NTC_BRIDGE_RESISTANCE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user