Skip to content

Commit

Permalink
Don't blink if feedback is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nurikk committed Sep 28, 2020
1 parent 5cd2249 commit d3adbe2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/zcl_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@ static void zclApp_DetectSensorType(void) {
}
}
static void zclApp_ReadSensors(void) {
HalLedSet(HAL_LED_1, HAL_LED_MODE_BLINK);
if (zclApp_Config.LedFeedback) {
HalLedSet(HAL_LED_1, HAL_LED_MODE_BLINK);
}
static uint8 currentSensorsReadingPhase = 0;
LREP("currentSensorsReadingPhase %d\r\n", currentSensorsReadingPhase);
/**
Expand Down

0 comments on commit d3adbe2

Please sign in to comment.