mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-22 11:17:49 +10:00
This should work now !?
This commit is contained in:
@@ -48,8 +48,7 @@ bool mixWithLoRaEntropy(uint8_t *buffer, size_t length)
|
|||||||
// and return false so callers know no extra mixing occurred.
|
// and return false so callers know no extra mixing occurred.
|
||||||
RadioLibInterface *radio = RadioLibInterface::instance;
|
RadioLibInterface *radio = RadioLibInterface::instance;
|
||||||
if (!radio) {
|
if (!radio) {
|
||||||
// Intentionally silent: this path runs during portduinoSetup() before the
|
LOG_ERROR("No radio instance available to provide entropy");
|
||||||
// console/SerialConsole is initialized, so LOG_* here would dereference a null pointer.
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user