From c396a9bbdb8837227b647e4184161ccb36c2854e Mon Sep 17 00:00:00 2001 From: Marcus Date: Wed, 6 Jan 2021 23:09:23 +0100 Subject: [PATCH] conclude renaming --- tasmota/my_user_config.h | 4 ++-- tasmota/xdrv_48_timeprop.ino | 7 +++---- tasmota/xdrv_49_pid.ino | 9 ++++----- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index f357a7ad0..64d6c665d 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -813,9 +813,9 @@ // -- PID and Timeprop ------------------------------ // #define use TIMEPROP // Add support for the timeprop feature (+9k2 code) - // For details on the configuration please see the header of tasmota/xdrv_91_timeprop.ino + // For details on the configuration please see the header of tasmota/xdrv_48_timeprop.ino // #define USE_PID // Add suport for the PID feature (+11k5 code) - // For details on the configuration please see the header of tasmota/xdrv_92_pid.ino + // For details on the configuration please see the header of tasmota/xdrv_49_pid.ino // -- End of general directives ------------------- /*********************************************************************************************\ diff --git a/tasmota/xdrv_48_timeprop.ino b/tasmota/xdrv_48_timeprop.ino index b65faa4d7..a457c8d94 100644 --- a/tasmota/xdrv_48_timeprop.ino +++ b/tasmota/xdrv_48_timeprop.ino @@ -1,5 +1,5 @@ /* - xdrv_91_timeprop.ino - Timeprop support for Sonoff-Tasmota + xdrv_48_timeprop.ino - Timeprop support for Sonoff-Tasmota Copyright (C) 2018 Colin Law and Thomas Herrmann This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -197,10 +197,9 @@ bool Timeprop_Command() * Interface \*********************************************************************************************/ -#define XDRV_91 91 +#define XDRV_48 48 -bool Xdrv91(byte function) -//bool XDRV_91(byte function) +bool Xdrv48(byte function) { bool result = false; diff --git a/tasmota/xdrv_49_pid.ino b/tasmota/xdrv_49_pid.ino index bc16c9f94..eaf2ea92f 100644 --- a/tasmota/xdrv_49_pid.ino +++ b/tasmota/xdrv_49_pid.ino @@ -1,5 +1,5 @@ /* - xdrv_92_pid.ino - PID algorithm plugin for Sonoff-Tasmota + xdrv_49_pid.ino - PID algorithm plugin for Sonoff-Tasmota Copyright (C) 2018 Colin Law and Thomas Herrmann This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,7 +21,7 @@ * Clone the library https://github.com/colinl/process-control.git from Github * into a subfolder of lib. * If you want to use a time proportioned relay output with this then also get - * xdrv_91_timeprop.ino + * xdrv_49_timeprop.ino * In user_config.h or user_config_override.h include code as follows: #define USE_PID // include the pid feature (+4.3k) @@ -105,7 +105,7 @@ // process, set this to indicate which timeprop output to use. For a device // with just one relay then this will be 1. // It is then also necessary to define USE_TIMEPROP and set the output up as - // explained in xdrv_91_timeprop.ino + // explained in xdrv_49_timeprop.ino // To disable this feature leave this undefined (undefined, not defined to nothing). #define PID_USE_LOCAL_SENSOR // If defined then the local sensor will be used for pv. Leave undefined if @@ -392,8 +392,7 @@ static void run_pid() #define XDRV_49 49 -bool Xdrv92(byte function) -//bool XDRV_92(byte function) +bool Xdrv49(byte function) { bool result = false;