1
0
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:
2026-02-04 07:45:51 +01:00
parent 898922769a
commit 823363aa5b
3 changed files with 6 additions and 4 deletions

View File

@@ -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