Skip to content

Commit

Permalink
Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nurikk committed Jun 3, 2020
1 parent 10a7740 commit 59d99dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/zcl_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ static void zclApp_Report(void) {
}
bool alertStatus = zclApp_RadiationLevelParrotsPerHour > zclApp_Config.AlertTreshold;
afAddrType_t inderect_DstAddr = {.addrMode = (afAddrMode_t)AddrNotPresent, .endPoint = 0, .addr.shortAddr = 0};
LREP("alertStatus %d lastAlertStatus=%d\r\n", alertStatus, lastAlertStatus);
LREP("AlertTreshold=%ld radiationLevel=%ld\r\n", zclApp_Config.AlertTreshold, zclApp_RadiationLevelParrotsPerHour);
LREP("alertStatus=%d lastAlertStatus=%d\r\n", alertStatus, lastAlertStatus);

if (alertStatus != lastAlertStatus) {
if (alertStatus) {
Expand Down

0 comments on commit 59d99dd

Please sign in to comment.