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 LMiC by
Diff: radio.cpp
- Revision:
- 6:eed5fd627a2b
- Parent:
- 5:464c1f2d6cbb
- Child:
- 7:29058a7ccf23
--- a/radio.cpp Tue Feb 23 15:34:27 2016 +0000
+++ b/radio.cpp Thu Feb 25 15:39:28 2016 +0000
@@ -173,9 +173,9 @@
// get random seed from wideband noise rssi
void radio_init( void )
{
- debug("radio_init1 enter\r\n");
- Radio = new SX1272MB1xAS(NULL);
- hal_disableIRQs( );
+ debug("radio_init1 enter\r\n");
+ Radio = new SX1272MB1xAS(NULL);
+ hal_disableIRQs( );
// Initialize Radio driver
RadioEvents.TxDone = OnTxDone;
@@ -240,7 +240,7 @@
void os_radio( u1_t mode )
{
-debug("os_radio enter\r\n");
+debug_val("os_radio enter ",mode);
hal_disableIRQs( );
switch( mode )
{
