astyle formatting

feature-lorawan-1-1
Shaun Nelson 2019-06-01 21:16:41 -04:00 committed by Antti Kauppila
parent fc4ce50321
commit d90a489e67
3 changed files with 6 additions and 3 deletions

View File

@ -69,6 +69,7 @@ typedef struct {
* Exact operation is implementation specific.
*/
PinName tcxo;
} rf_ctrls;
/** Radio driver internal state.

View File

@ -913,7 +913,9 @@ bool LoRaPHY::compute_rx_win_params(int8_t datarate, uint8_t min_rx_symbols,
get_rx_window_params(t_symbol, max_preamble_len, min_rx_symbols,
(float) rx_error, MBED_CONF_LORA_WAKEUP_TIME,
&rx_conf_params->window_timeout, &rx_conf_params->window_offset,
&rx_conf_params->window_timeout,
&rx_conf_params->window_timeout_ms,
&rx_conf_params->window_offset,
rx_conf_params->datarate);
return true;
}

View File

@ -749,8 +749,8 @@ protected:
*/
void get_rx_window_params(float t_symbol, float max_preamble_len,
uint8_t min_rx_symbols, float rx_error, float wakeup_time,
uint32_t *window_length, int32_t *window_offset,
uint8_t phy_dr);
uint32_t *window_length, uint32_t *window_length_ms,
int32_t *window_offset, uint8_t phy_dr);
/**
* Computes the txPower, based on the max EIRP and the antenna gain.