Prototype RF driver for STM Sub-1 GHz RF expansion board based on the SPSGRF-868 module for STM32 Nucleo.
Dependents: DISCO_IOT-wifi_client
Fork of stm-spirit1-rf-driver by
Revision 49:d017830c0c67, committed 2017-02-06
- Comitter:
- Wolfgang Betz
- Date:
- Mon Feb 06 08:53:03 2017 +0100
- Parent:
- 48:373e1b7e424f
- Child:
- 50:7f70089ba05f
- Commit message:
- Do not read IRQ status twice
Changed in this revision
--- a/source/SimpleSpirit1.cpp Thu Jan 12 08:20:43 2017 +0100
+++ b/source/SimpleSpirit1.cpp Mon Feb 06 08:53:03 2017 +0100
@@ -605,7 +605,6 @@
*/
if(_spirit_tx_started) {
#ifdef DEBUG_IRQ
- uint32_t *tmp = (uint32_t*)&x_irq_status;
debug("\n\r%s (%d): irq=%x\n\r", __func__, __LINE__, *tmp);
#endif
} else {
--- a/source/libs/spirit1/SPIRIT1_Library/Inc/SPIRIT_Irq.h Thu Jan 12 08:20:43 2017 +0100 +++ b/source/libs/spirit1/SPIRIT1_Library/Inc/SPIRIT_Irq.h Mon Feb 06 08:53:03 2017 +0100 @@ -207,7 +207,6 @@ SpiritFlagStatus IRQ_TX_FIFO_ERROR:1; /*!< IRQ: TX FIFO underflow/overflow error */ SpiritFlagStatus IRQ_RX_FIFO_ERROR:1; /*!< IRQ: RX FIFO underflow/overflow error */ SpiritFlagStatus IRQ_TX_FIFO_ALMOST_FULL:1; /*!< IRQ: TX FIFO almost full */ - } SpiritIrqs; // betzw: uint32_t masks
