From 42290394d3d9fef25f3b7cd861295ce7d4a30fff Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Sun, 26 Dec 2021 21:47:20 +0100 Subject: [PATCH] Fix lint issue --- components/xiaomi_ble/xiaomi_ble.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/xiaomi_ble/xiaomi_ble.cpp b/components/xiaomi_ble/xiaomi_ble.cpp index ff4f59d..da0963e 100644 --- a/components/xiaomi_ble/xiaomi_ble.cpp +++ b/components/xiaomi_ble/xiaomi_ble.cpp @@ -20,7 +20,7 @@ bool parse_xiaomi_value(uint8_t value_type, const uint8_t *data, uint8_t value_l result.press_type = data[2]; ESP_LOGD(TAG, "Key code: %d", data[0]); // button ESP_LOGD(TAG, "Dimmer: %d", data[1]); // value - ESP_LOGD(TAG, "Press type: %d", data[2]); // 0: single press, 1: double press, 2: long press, 3: ???, + ESP_LOGD(TAG, "Press type: %d", data[2]); // 0: single press, 1: double press, 2: long press, 3: ???, // 4: dimmer <= 127 = rotate right / else: rotate left } // motion detection, 1 byte, 8-bit unsigned integer