mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-29 14:10:53 +00:00
new RF95 driver is written
This commit is contained in:
@@ -109,13 +109,11 @@ bool SX1262Interface::canSendImmediately()
|
||||
return !busyTx && !busyRx;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool SX1262Interface::sleep()
|
||||
{
|
||||
// we no longer care about interrupts from this device
|
||||
// prepareDeepSleep();
|
||||
// put chipset into sleep mode
|
||||
disableInterrupt();
|
||||
lora.sleep();
|
||||
|
||||
// FIXME - put chipset into sleep mode
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user