Fixed code style issues

This commit is contained in:
Carlos Pérez Penichet 2018-10-29 11:15:40 +01:00
parent a906f03a25
commit 2d2d6b3ad6
2 changed files with 10 additions and 10 deletions

View File

@ -398,7 +398,7 @@ get_sfd_timestamp(void)
/*---------------------------------------------------------------------------*/
/* Enable or disable radio test mode emmiting modulated or unmodulated
* (carrier) signal. See User's Guide pages 719 and 741.
*/
*/
static uint32_t prev_FRMCTRL0, prev_MDMTEST1;
static uint8_t was_on;
@ -850,7 +850,7 @@ get_value(radio_param_t param, radio_value_t *value)
switch(param) {
case RADIO_PARAM_POWER_MODE:
if ((REG(RFCORE_XREG_RXENABLE) & RFCORE_XREG_RXENABLE_RXENMASK) == 0) {
if((REG(RFCORE_XREG_RXENABLE) & RFCORE_XREG_RXENABLE_RXENMASK) == 0) {
*value = RADIO_POWER_MODE_OFF;
} else {
*value = (REG(RFCORE_XREG_FRMCTRL0) & RFCORE_XREG_FRMCTRL0_TX_MODE) == 0

View File

@ -1134,7 +1134,7 @@ set_send_on_cca(uint8_t enable)
/*---------------------------------------------------------------------------*/
/* Enable or disable radio test mode emmiting modulated or unmodulated
* (carrier) signal. See datasheet page 55.
*/
*/
static uint16_t prev_MDMCTRL1, prev_DACTST;
static uint8_t was_on;