mirror of
https://github.com/esphome/esphome.git
synced 2025-10-01 17:42:22 +01:00
[wifi] Make wifi_channel_() public (#7818)
This commit is contained in:
@@ -973,7 +973,7 @@ int8_t WiFiComponent::wifi_rssi() {
|
||||
}
|
||||
return info.rssi;
|
||||
}
|
||||
int32_t WiFiComponent::wifi_channel_() {
|
||||
int32_t WiFiComponent::get_wifi_channel() {
|
||||
uint8_t primary;
|
||||
wifi_second_chan_t second;
|
||||
esp_err_t err = esp_wifi_get_channel(&primary, &second);
|
||||
|
Reference in New Issue
Block a user