Merge branch 'adafruit:main' into m5timer
This commit is contained in:
commit
f63aac9e52
|
@ -29,6 +29,7 @@
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "bindings/espidf/__init__.h"
|
||||||
#include "common-hal/wifi/__init__.h"
|
#include "common-hal/wifi/__init__.h"
|
||||||
#include "shared/runtime/interrupt_char.h"
|
#include "shared/runtime/interrupt_char.h"
|
||||||
#include "py/gc.h"
|
#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,
|
||||||
size_t timeout_ms = timeout * 1000;
|
size_t timeout_ms = timeout * 1000;
|
||||||
|
|
||||||
esp_ping_handle_t ping;
|
esp_ping_handle_t ping;
|
||||||
esp_ping_new_session(&ping_config, NULL, &ping);
|
CHECK_ESP_RESULT(esp_ping_new_session(&ping_config, NULL, &ping));
|
||||||
esp_ping_start(ping);
|
esp_ping_start(ping);
|
||||||
|
|
||||||
uint32_t received = 0;
|
uint32_t received = 0;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
rm -rf test-stubs
|
rm -rf test-stubs
|
||||||
python3 -mvenv test-stubs
|
python3 -m venv test-stubs
|
||||||
. test-stubs/bin/activate
|
. test-stubs/bin/activate
|
||||||
pip install mypy isort black adafruit-circuitpython-typing wheel
|
pip install mypy isort black adafruit-circuitpython-typing wheel
|
||||||
rm -rf circuitpython-stubs .mypy_cache
|
rm -rf circuitpython-stubs .mypy_cache
|
||||||
|
|
Loading…
Reference in New Issue