Skip to content

Commit

Permalink
library: changed temperature target debug definition to thermostat debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sekyHC committed Oct 7, 2020
1 parent 08146e7 commit 2c41d1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Endpoints/EndpointThermostat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ double EndpointThermostat::getHeatingSetpoint()

void EndpointThermostat::incomingMessage(char* topic, uint8_t* payload, unsigned int length)
{
#ifdef ENDPOINT_TEMPERATURE_TARGET_DEBUG
#ifdef ENDPOINT_THERMOSTAT_DEBUG
print(F("Incoming message, EndpointThermostat"));
#endif

Expand All @@ -57,7 +57,7 @@ void EndpointThermostat::incomingMessage(char* topic, uint8_t* payload, unsigned

void EndpointThermostat::sendFeedbackMessage()
{
#ifdef ENDPOINT_TEMPERATURE_TARGET_DEBUG
#ifdef ENDPOINT_THERMOSTAT_DEBUG
print(F("Sending feedback message, EndpointThermostat"));
#endif

Expand Down
4 changes: 2 additions & 2 deletions src/debugDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define HCM_DEBUG
#define ENDPOINT_DEBUG
#define ENDPOINT_ZERO_DEBUG
#define ENDPOINT_TEMPERATURE_TARGET_DEBUG
#define ENDPOINT_THERMOSTAT_DEBUG
#define ENDPOINT_TEMPERATURE_DEBUG
#define ENDPOINT_ON_OFF_DEBUG
#define ENDPOINT_MOTION_DEBUG
Expand All @@ -21,7 +21,7 @@
// #define HCM_DEBUG
// #define ENDPOINT_DEBUG
// #define ENDPOINT_ZERO_DEBUG
// #define ENDPOINT_TEMPERATURE_TARGET_DEBUG
// #define ENDPOINT_THERMOSTAT_DEBUG
// #define ENDPOINT_TEMPERATURE_DEBUG
// #define ENDPOINT_ON_OFF_DEBUG
// #define ENDPOINT_MOTION_DEBUG
Expand Down

0 comments on commit 2c41d1e

Please sign in to comment.