You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/12/01 17:02:21 UTC

[incubator-nuttx] branch master updated: nRF52: fix missing #endif on RADIO header

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 19941b1  nRF52: fix missing #endif on RADIO header
19941b1 is described below

commit 19941b14b005d244cd76f95fb3f6df69d6d804b4
Author: Matias N <ma...@protobits.dev>
AuthorDate: Sun Nov 8 22:18:02 2020 -0300

    nRF52: fix missing #endif on RADIO header
---
 arch/arm/src/nrf52/hardware/nrf52_radio.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/src/nrf52/hardware/nrf52_radio.h b/arch/arm/src/nrf52/hardware/nrf52_radio.h
index 8da1103..14f1675 100644
--- a/arch/arm/src/nrf52/hardware/nrf52_radio.h
+++ b/arch/arm/src/nrf52/hardware/nrf52_radio.h
@@ -447,6 +447,7 @@
 #ifdef HAVE_RADIO_BLELR
 #  define RADIO_MODE_BLELR125KBIT         (0x05 << RADIO_MODE_SHIFT) /* 5: Long range 125 kbit/s TX, 125 kbit/s and 500 kbit/s RX */
 #  define RADIO_MODE_BLELR500KBIT         (0x06 << RADIO_MODE_SHIFT) /* 6: Long range 500 kbit/s TX, 125 kbit/s and 500 kbit/s RX */
+#endif
 #ifdef HAVE_RADIO_IEEE802154
 #  define RADIO_MODE_IEEE802154           (0x0f << RADIO_MODE_SHIFT) /* 15: IEEE 802.15.4-2006 250 kbit/s */
 #endif