Can't LOG when we don't have logging set up yet in the native test suite

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Ben Meadors
2026-04-23 14:42:29 -05:00
co-authored by Copilot
parent 2cc13a1132
commit 56c897e826
+2
View File
@@ -48,7 +48,9 @@ bool mixWithLoRaEntropy(uint8_t *buffer, size_t length)
// and return false so callers know no extra mixing occurred.
RadioLibInterface *radio = RadioLibInterface::instance;
if (!radio) {
#ifndef PIO_UNIT_TESTING
LOG_ERROR("No radio instance available to provide entropy");
#endif
return false;
}