cc2538-rf: Removed unused function "cc2538_rf_set_promiscous_mode"

This commit is contained in:
kkrentz 2018-08-02 01:27:30 -07:00
parent a1fddeb0f7
commit 34997f60f6
2 changed files with 1 additions and 16 deletions

View File

@ -1096,10 +1096,5 @@ cc2538_rf_err_isr(void)
process_poll(&cc2538_rf_process); process_poll(&cc2538_rf_process);
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
void
cc2538_rf_set_promiscous_mode(char p)
{
set_frame_filtering(p);
}
/*---------------------------------------------------------------------------*/
/** @} */ /** @} */

View File

@ -136,16 +136,6 @@ extern const struct radio_driver cc2538_rf_driver;
*/ */
void cc2538_rf_set_addr(uint16_t pan); void cc2538_rf_set_addr(uint16_t pan);
/**
* \brief Turn promiscous mode on or off
* \param p If promiscous mode should be on (1) or off (0)
*
* This function turns promiscous mode on or off. In promiscous mode,
* every received frame is returned from the RF core. In
* non-promiscous mode, only broadcast frames or frames with our
* address as the receive address are returned from the RF core.
*/
void cc2538_rf_set_promiscous_mode(char p);
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#endif /* CC2538_RF_H__ */ #endif /* CC2538_RF_H__ */