From 4087f15aa86b4008949419f4789da3114725e46b Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 21 Sep 2021 14:37:45 +0200 Subject: [PATCH] Rename xnrg_x0_dummy.ino --- tasmota/{xnrg_20_dummy.ino => xnrg_30_dummy.ino} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename tasmota/{xnrg_20_dummy.ino => xnrg_30_dummy.ino} (97%) diff --git a/tasmota/xnrg_20_dummy.ino b/tasmota/xnrg_30_dummy.ino similarity index 97% rename from tasmota/xnrg_20_dummy.ino rename to tasmota/xnrg_30_dummy.ino index 893a05bf8..dd8c77848 100644 --- a/tasmota/xnrg_20_dummy.ino +++ b/tasmota/xnrg_30_dummy.ino @@ -1,5 +1,5 @@ /* - xnrg_20_dummy.ino - Dummy energy sensor support for Tasmota + xnrg_30_dummy.ino - Dummy energy sensor support for Tasmota Copyright (C) 2021 Theo Arends @@ -28,7 +28,7 @@ * Enable by selecting any GPIO as Option A2 \*********************************************************************************************/ -#define XNRG_20 20 +#define XNRG_30 30 #define NRG_DUMMY_U_COMMON true // Phase voltage = false, Common voltage = true #define NRG_DUMMY_F_COMMON true // Phase frequency = false, Common frequency = true @@ -124,7 +124,7 @@ void NrgDummyDrvInit(void) { Energy.type_dc = NRG_DUMMY_DC; // AC = false, DC = true; Energy.use_overtemp = NRG_DUMMY_OVERTEMP; // Use global temperature for overtemp detection - TasmotaGlobal.energy_driver = XNRG_20; + TasmotaGlobal.energy_driver = XNRG_30; } } @@ -132,7 +132,7 @@ void NrgDummyDrvInit(void) { * Interface \*********************************************************************************************/ -bool Xnrg20(uint8_t function) { +bool Xnrg30(uint8_t function) { bool result = false; switch (function) {