mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-06-15 04:14:28 +02:00
Fix ttn_get_rf_settings()
This commit is contained in:
parent
8fa345a5d4
commit
1df2c50f6f
@ -343,7 +343,7 @@ void ttn_set_max_tx_pow(int tx_pow)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ttn_rf_settings_t ttn_getrf_settings(ttn_rx_tx_window_t window)
|
ttn_rf_settings_t ttn_get_rf_settings(ttn_rx_tx_window_t window)
|
||||||
{
|
{
|
||||||
int index = ((int)window) & 0x03;
|
int index = ((int)window) & 0x03;
|
||||||
return last_rf_settings[index];
|
return last_rf_settings[index];
|
||||||
|
Loading…
Reference in New Issue
Block a user