hopefully fix remaining cppcheck issues (#9745)

This commit is contained in:
Thomas Göttgens
2026-02-25 10:27:21 +01:00
committed by GitHub
co-authored by GitHub
parent ad7d19c317
commit 54781cf51a
8 changed files with 17 additions and 14 deletions
+2
View File
@@ -35,6 +35,8 @@ void consoleInit()
#if defined(SERIAL_HAS_ON_RECEIVE)
// onReceive does only exist for HardwareSerial not for USB CDC serial
Port.onReceive([sc]() { sc->rxInt(); });
#else
(void)sc;
#endif
DEBUG_PORT.rpInit(); // Simply sets up semaphore
}