fix(phy): fix cmd get_rx_result log error issue
This commit is contained in:
@@ -99,7 +99,7 @@ phy> cmdstop
|
||||
I (130260) phy: rx_num: 0 rx_rssi: 0
|
||||
phy>
|
||||
phy> get_rx_result
|
||||
I (139550) cmd_phy: Desired: 0, Correct: 0, RSSI: 0, flag: 2
|
||||
I (139550) cmd_phy: Correct: 0, Desired: 0, RSSI: 0, flag: 2
|
||||
phy>
|
||||
phy> bt_tx_tone -e 1 -n 1 -p 0
|
||||
I (151900) phy: BT TX TONE START!
|
||||
|
||||
@@ -82,7 +82,7 @@ static int esp_phy_get_rx_result_func(int argc, char **argv)
|
||||
|
||||
esp_phy_get_rx_result(&rx_result);
|
||||
|
||||
ESP_LOGI(TAG, "Desired: %lu, Correct: %lu, RSSI: %d, flag: %lu", rx_result.phy_rx_total_count,
|
||||
ESP_LOGI(TAG, "Correct: %lu, Desired: %lu, RSSI: %d, flag: %lu", rx_result.phy_rx_total_count,
|
||||
rx_result.phy_rx_correct_count, rx_result.phy_rx_rssi, rx_result.phy_rx_result_flag);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user