This code holds the complete demo set for the sx1280: PingPong, PER and Ranging Outdoor demo application. >>>>> This code MUST run on the mbed library release 127 or everything will be painfully slow.

Dependencies:   mbed SX1280Lib DmTftLibrary

* This code MUST run on the mbed library release 127 or everything will be painfully slow.*
Revision:
9:0efc2c99078f
Parent:
8:c0a5f53fe196
Child:
13:94a3f92fd49c
--- a/Demo/DemoApplication.cpp	Thu May 11 15:42:05 2017 +0000
+++ b/Demo/DemoApplication.cpp	Mon May 22 11:26:38 2017 +0000
@@ -1846,7 +1846,6 @@
 uint8_t CheckDistance( void )
 {
     double mean = 0.0;
-    double total = 0.0;
     double rssi = Eeprom.EepromData.DemoSettings.RssiValue;
 
     uint16_t j = 0;
@@ -1855,8 +1854,6 @@
     printf( "#id: %d", Eeprom.EepromData.DemoSettings.CntPacketTx );
     if( RngResultIndex > 0 )
     {
-        // compute average and std deviation
-        total = 0.0;
         for( i = 0; i < RngResultIndex; ++i )
         {
             RawRngResults[i] = RawRngResults[i] - ( Eeprom.EepromData.DemoSettings.RngFeiFactor * Eeprom.EepromData.DemoSettings.RngFei / 1000 );