chore: fix build warnings from compiler-flagged always-true/dead-code issues (#7697)

Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Peter Feerick
2026-08-24 20:37:15 +10:00
committed by GitHub
co-authored by Peter Feerick Claude Sonnet 5
parent 5d69da66fe
commit a5ac9bf06b
6 changed files with 14 additions and 112 deletions
+1 -1
View File
@@ -1233,7 +1233,7 @@ static void _sp_Tx(uint8_t* buf, uint32_t len)
}
}
#if defined(HARDWARE_INTERNAL_MODULE) || defined(HARDWARE_EXTERNAL_MODULE)
#if defined(HARDWARE_INTERNAL_MODULE)
static etx_module_state_t *spModuleState = nullptr;
static void spModuleInit(int port_n, int baudrate)