nimble/phy: Make private functions static

This commit is contained in:
Andrzej Kaczmarek
2019-10-21 19:55:28 +02:00
parent f1808b9da7
commit 4ceecdbed9
3 changed files with 5 additions and 6 deletions
@@ -128,7 +128,6 @@ void ble_phy_disable(void);
#define BLE_PHY_WFR_ENABLE_RX (0)
#define BLE_PHY_WFR_ENABLE_TXRX (1)
void ble_phy_stop_usec_timer(void);
void ble_phy_wfr_enable(int txrx, uint8_t tx_phy_mode, uint32_t wfr_usecs);
/* Starts rf clock */
+2 -2
View File
@@ -1388,7 +1388,7 @@ ble_phy_setchan(uint8_t chan, uint32_t access_addr, uint32_t crcinit)
/**
* Stop the timer used to count microseconds when using RTC for cputime
*/
void
static void
ble_phy_stop_usec_timer(void)
{
NRF_TIMER0->TASKS_STOP = 1;
@@ -1404,7 +1404,7 @@ ble_phy_stop_usec_timer(void)
* restarted in receive mode. Generally, the disable routine is called to stop
* the phy.
*/
void
static void
ble_phy_disable_irq_and_ppi(void)
{
NRF_RADIO->INTENCLR = NRF_RADIO_IRQ_MASK_ALL;
+3 -3
View File
@@ -1868,7 +1868,7 @@ int ble_phy_txpower_round(int dbm)
*
* @return int 0: success; PHY error code otherwise
*/
int
static int
ble_phy_set_access_addr(uint32_t access_addr)
{
NRF_RADIO->BASE0 = (access_addr << 8);
@@ -1941,7 +1941,7 @@ ble_phy_setchan(uint8_t chan, uint32_t access_addr, uint32_t crcinit)
/**
* Stop the timer used to count microseconds when using RTC for cputime
*/
void
static void
ble_phy_stop_usec_timer(void)
{
NRF_TIMER0->TASKS_STOP = 1;
@@ -1957,7 +1957,7 @@ ble_phy_stop_usec_timer(void)
* restarted in receive mode. Generally, the disable routine is called to stop
* the phy.
*/
void
static void
ble_phy_disable_irq_and_ppi(void)
{
NRF_RADIO->INTENCLR = NRF_RADIO_IRQ_MASK_ALL;