Skip to content

Commit f63aac9

Browse files
authored
Merge branch 'adafruit:main' into m5timer
2 parents f4079b6 + 018f15d commit f63aac9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
#include <string.h>
3131

32+
#include "bindings/espidf/__init__.h"
3233
#include "common-hal/wifi/__init__.h"
3334
#include "shared/runtime/interrupt_char.h"
3435
#include "py/gc.h"
@@ -497,7 +498,7 @@ mp_int_t common_hal_wifi_radio_ping(wifi_radio_obj_t *self, mp_obj_t ip_address,
497498
size_t timeout_ms = timeout * 1000;
498499

499500
esp_ping_handle_t ping;
500-
esp_ping_new_session(&ping_config, NULL, &ping);
501+
CHECK_ESP_RESULT(esp_ping_new_session(&ping_config, NULL, &ping));
501502
esp_ping_start(ping);
502503

503504
uint32_t received = 0;

tools/test-stubs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh -e
22
rm -rf test-stubs
3-
python3 -mvenv test-stubs
3+
python3 -m venv test-stubs
44
. test-stubs/bin/activate
55
pip install mypy isort black adafruit-circuitpython-typing wheel
66
rm -rf circuitpython-stubs .mypy_cache

0 commit comments

Comments
 (0)