DAC external instead of null

This commit is contained in:
philippe44
2020-02-05 18:17:05 -08:00
parent 07b0d0cb6c
commit f9da2d2d0f
5 changed files with 5 additions and 5 deletions

View File

@@ -165,7 +165,7 @@ static void buttons_task(void* arg) {
// received a rotary event
xQueueReceive(rotary.queue, &event, 0);
ESP_LOGI(TAG, "Event: position %d, direction %s", event.state.position,
ESP_LOGD(TAG, "Event: position %d, direction %s", event.state.position,
event.state.direction ? (event.state.direction == ROTARY_ENCODER_DIRECTION_CLOCKWISE ? "CW" : "CCW") : "NOT_SET");
rotary.handler(rotary.client, event.state.direction == ROTARY_ENCODER_DIRECTION_CLOCKWISE ?