Fix ttn_get_rf_settings()

This commit is contained in:
Manuel Bleichenbacher 2021-08-20 20:41:34 +02:00
parent 8fa345a5d4
commit 1df2c50f6f

View File

@ -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;
return last_rf_settings[index];