Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SX1276GenericLib by
Diff: sx1276/sx1276-mbed-hal.cpp
- Revision:
- 64:b721e6ab656a
- Parent:
- 61:08b50780eb91
- Child:
- 65:b2d98328fcba
diff -r 5b9d391244dc -r b721e6ab656a sx1276/sx1276-mbed-hal.cpp
--- a/sx1276/sx1276-mbed-hal.cpp Thu Jun 29 19:30:24 2017 +0200
+++ b/sx1276/sx1276-mbed-hal.cpp Fri Jun 30 16:08:05 2017 +0200
@@ -29,6 +29,7 @@
PinName antSwitch, PinName antSwitchTX, PinName antSwitchTXBoost, PinName tcxo)
: SX1276( events)
{
+ Sleep_ms( 10 );
this->RadioEvents = events;
boardConnected = board;
@@ -362,6 +363,12 @@
}
}
+void
+SX1276Generic::Sleep_ms(int ms)
+{
+ wait_ms(ms);
+}
+
bool SX1276Generic::CheckRfFrequency( uint32_t frequency )
{
// Implement check. Currently all frequencies are supported
