Skip to content

Commit 9869215

Browse files
todbotdhalbert
andauthored
Update ports/espressif/common-hal/wifi/Radio.c
Co-authored-by: Dan Halbert <[email protected]>
1 parent f464ec3 commit 9869215

File tree

1 file changed

+1
-1
lines changed
  • ports/espressif/common-hal/wifi

1 file changed

+1
-1
lines changed

ports/espressif/common-hal/wifi/Radio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ void common_hal_wifi_radio_set_mac_address(wifi_radio_obj_t *self, const uint8_t
142142
mp_float_t common_hal_wifi_radio_get_tx_power(wifi_radio_obj_t *self) {
143143
int8_t tx_power;
144144
esp_wifi_get_max_tx_power(&tx_power);
145-
return tx_power / 4.0;
145+
return tx_power / 4.0f;
146146
}
147147

148148
void common_hal_wifi_radio_set_tx_power(wifi_radio_obj_t *self, const float tx_power) {

0 commit comments

Comments
 (0)