|
21 | 21 | defined(ADAFRUIT_PYPORTAL_M4_TITANO) || defined(USE_AIRLIFT)
|
22 | 22 | #include "network_interfaces/Wippersnapper_AIRLIFT.h"
|
23 | 23 | /** Nina-FW (adafruit fork) networking class */
|
24 |
| -typedef Wippersnapper_AIRLIFT ws_adapter_wifi; |
| 24 | +typedef Wippersnapper_AIRLIFT Wippersnapper_WiFi; |
25 | 25 | #elif defined(ARDUINO_ARCH_ESP8266)
|
26 | 26 | #include "network_interfaces/Wippersnapper_ESP8266.h"
|
27 | 27 | /** ESP8266's networking class */
|
28 |
| -typedef Wippersnapper_ESP8266 ws_adapter_wifi; |
| 28 | +typedef Wippersnapper_ESP8266 Wippersnapper_WiFi; |
29 | 29 | #elif defined(ARDUINO_ARCH_ESP32)
|
30 | 30 | #include "network_interfaces/Wippersnapper_ESP32.h"
|
31 | 31 | /** ESP32's networking class */
|
32 |
| -typedef Wippersnapper_ESP32 ws_adapter_wifi; |
| 32 | +typedef Wippersnapper_ESP32 Wippersnapper_WiFi; |
33 | 33 | #elif defined(ARDUINO_RASPBERRY_PI_PICO_W)
|
34 | 34 | #include "network_interfaces/ws_networking_pico.h"
|
35 |
| -typedef ws_networking_pico ws_adapter_wifi; |
| 35 | +typedef ws_networking_pico Wippersnapper_WiFi; |
36 | 36 | #elif defined(RASPBERRY_PI_PICO) || defined(RASPBERRY_PI_PICO_2)
|
37 | 37 | #include "network_interfaces/ws_nonet_pico.h"
|
38 |
| -typedef ws_nonet_pico ws_adapter_wifi; |
| 38 | +typedef ws_nonet_pico Wippersnapper_WiFi; |
39 | 39 | #elif defined(ARDUINO_SAMD_NANO_33_IOT) || defined(ARDUINO_SAMD_MKRWIFI1010)
|
40 | 40 | /** Nina-FW (arduino) networking class */
|
41 | 41 | #include "network_interfaces/Wippersnapper_WIFININA.h"
|
42 |
| -typedef Wippersnapper_WIFININA ws_adapter_wifi; |
| 42 | +typedef Wippersnapper_WIFININA Wippersnapper_WiFi; |
43 | 43 | #else
|
44 | 44 | #warning "Must define network interface in config.h!"
|
45 | 45 | #endif
|
|
0 commit comments