mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-29 22:20:37 +00:00
implement most of sleep handling for the new radio stack
This commit is contained in:
@@ -107,4 +107,15 @@ bool SX1262Interface::canSendImmediately()
|
||||
DEBUG_MSG("Can not set now, busyTx=%d, busyRx=%d\n", busyTx, busyRx);
|
||||
|
||||
return !busyTx && !busyRx;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool SX1262Interface::sleep()
|
||||
{
|
||||
// we no longer care about interrupts from this device
|
||||
// prepareDeepSleep();
|
||||
|
||||
// FIXME - put chipset into sleep mode
|
||||
return false;
|
||||
}
|
||||
Reference in New Issue
Block a user