Luca Antolini / Mbed 2 deprecated Stabilus322699_LA0002

Dependencies:   mbed QEI DmTftLibrary

Files at this revision

API Documentation at this revision

Comitter:
GregCr
Date:
Fri Aug 24 08:01:53 2018 +0000
Parent:
17:a0bbfc228415
Child:
19:45d0ce0f0677
Commit message:
- enabled all IRQ for ranging

Changed in this revision

Demo/DemoApplication.cpp Show annotated file Show diff for this revision Revisions of this file
Demo/DemoApplication.h Show annotated file Show diff for this revision Revisions of this file
--- a/Demo/DemoApplication.cpp	Wed Jul 18 08:51:53 2018 +0000
+++ b/Demo/DemoApplication.cpp	Fri Aug 24 08:01:53 2018 +0000
@@ -1054,8 +1054,8 @@
         if( Eeprom.EepromData.DemoSettings.Entity == MASTER )
         {
             Eeprom.EepromData.DemoSettings.TimeOnAir = RX_TX_INTER_PACKET_DELAY;
-            Radio.SetDioIrqParams( IRQ_RX_DONE | IRQ_TX_DONE | IRQ_RX_TX_TIMEOUT | IRQ_RANGING_MASTER_RESULT_VALID | IRQ_RANGING_MASTER_ERROR_CODE,
-                                   IRQ_RX_DONE | IRQ_TX_DONE | IRQ_RX_TX_TIMEOUT | IRQ_RANGING_MASTER_RESULT_VALID | IRQ_RANGING_MASTER_ERROR_CODE,
+            Radio.SetDioIrqParams( IRQ_RADIO_ALL /*IRQ_RX_DONE | IRQ_TX_DONE | IRQ_RX_TX_TIMEOUT | IRQ_RANGING_MASTER_RESULT_VALID | IRQ_RANGING_MASTER_ERROR_CODE*/,
+                                   IRQ_RADIO_ALL /*IRQ_RX_DONE | IRQ_TX_DONE | IRQ_RX_TX_TIMEOUT | IRQ_RANGING_MASTER_RESULT_VALID | IRQ_RANGING_MASTER_ERROR_CODE*/,
                                    IRQ_RADIO_NONE, IRQ_RADIO_NONE );
             Eeprom.EepromData.DemoSettings.RngDistance = 0.0;
             DemoInternalState = APP_RANGING_CONFIG;
--- a/Demo/DemoApplication.h	Wed Jul 18 08:51:53 2018 +0000
+++ b/Demo/DemoApplication.h	Fri Aug 24 08:01:53 2018 +0000
@@ -19,7 +19,7 @@
 /*!
  * \brief Used to display firmware version on TFT (Utilities menu)
  */
-#define FIRMWARE_VERSION    ( ( char* )"Firmware Version: 180718" )
+#define FIRMWARE_VERSION    ( ( char* )"Firmware Version: 180824" )
 
 /*!
  * \brief Define range of central frequency [Hz]