mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-02-11 07:03:07 +01:00
Small fix to get keypad running
This commit is contained in:
@@ -620,7 +620,8 @@ void OBP60Task(GwApi *api){
|
||||
if (xQueueReceive(keyboardQueue, &remotekey, 0) == pdPASS) {
|
||||
LOG_DEBUG(GwLog::LOG, "OBP received remote key: %d", remotekey);
|
||||
// inject into internal keyboard queue
|
||||
xQueueSend(allParameters.queue, &remotekey, 0);
|
||||
int injectkey = static_cast<int>(remotekey);
|
||||
xQueueSend(allParameters.queue, &injectkey, 0);
|
||||
}
|
||||
|
||||
// Check the keyboard message
|
||||
|
||||
Reference in New Issue
Block a user