From 6f083aa944de4b973731ce46c3e121d9663ce409 Mon Sep 17 00:00:00 2001 From: Marcus Date: Wed, 6 Jan 2021 16:36:24 +0100 Subject: [PATCH] boolean -> bool, Prefix Addlog --- tasmota/xdrv_91_timeprop.ino | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tasmota/xdrv_91_timeprop.ino b/tasmota/xdrv_91_timeprop.ino index b9dc0f154..ad554c422 100644 --- a/tasmota/xdrv_91_timeprop.ino +++ b/tasmota/xdrv_91_timeprop.ino @@ -106,7 +106,7 @@ void Timeprop_Set_Power( int index, float power ) void Timeprop_Init() { - AddLog_P(LOG_LEVEL_INFO, PSTR("Timeprop Init")); + AddLog_P(LOG_LEVEL_INFO, PSTR("TPR: Timeprop Init")); int cycleTimes[TIMEPROP_NUM_OUTPUTS] = {TIMEPROP_CYCLETIMES}; int deadTimes[TIMEPROP_NUM_OUTPUTS] = {TIMEPROP_DEADTIMES}; int opInverts[TIMEPROP_NUM_OUTPUTS] = {TIMEPROP_OPINVERTS}; @@ -148,10 +148,10 @@ void Timeprop_Xdrv_Power() { /* } XdrvMailbox; */ // To get here post with topic cmnd/timeprop_setpower_n where n is index into timeprops 0:7 -boolean Timeprop_Command() +bool Timeprop_Command() { char command [CMDSZ]; - boolean serviced = true; + bool serviced = true; uint8_t ua_prefix_len = strlen(D_CMND_TIMEPROP); // to detect prefix of command /* snprintf_P(log_data, sizeof(log_data), "Command called: " @@ -199,10 +199,10 @@ boolean Timeprop_Command() #define XDRV_91 91 -boolean Xdrv91(byte function) -//boolean XDRV_91(byte function) +bool Xdrv91(byte function) +//bool XDRV_91(byte function) { - boolean result = false; + bool result = false; switch (function) { case FUNC_INIT: