mirror of
https://github.com/demik/quack.git
synced 2025-08-05 13:24:54 +00:00
sync register probing to scheduling
This commit is contained in:
@@ -161,6 +161,7 @@ void adb_probe(void) {
|
||||
ESP_LOGI(TAG, "\tChecking $3 again…");
|
||||
adb_tx_cmd(ADB_MOUSE|ADB_TALK|ADB_REG3);
|
||||
register3 = adb_rx_mouse();
|
||||
vTaskDelay(7 / portTICK_PERIOD_MS);
|
||||
if (register3) {
|
||||
adb_tx_cmd(ADB_TMP|ADB_TALK|ADB_REG3);
|
||||
register3 = adb_rx_mouse();
|
||||
|
Reference in New Issue
Block a user