Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Dec 26, 2021
1 parent 3218399 commit 75de22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/xiaomi_ble/xiaomi_ble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75de22e

Please sign in to comment.