File tree 3 files changed +15
-13
lines changed
3 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
build :
14
- runs-on : ubuntu-latest
14
+ runs-on : ${{ matrix.os }}
15
15
strategy :
16
16
max-parallel : 1
17
17
matrix :
18
- python-version : [3.7 ]
18
+ os : [ubuntu-latest ]
19
19
steps :
20
- - uses : actions/checkout@v1
21
- - name : Set up Python ${{ matrix.python-version }}
22
- uses : actions/setup-python@v1
20
+ - uses : actions/checkout@v4
21
+ - uses : actions/cache@v3
23
22
with :
24
- python-version : ${{ matrix.python-version }}
23
+ path : |
24
+ ~/.cache/pip
25
+ ~/.platformio/.cache
26
+ key : ${{ runner.os }}-pio
27
+ - name : Set up Python
28
+ uses : actions/setup-python@v5
29
+ with :
30
+ python-version : ' 3.10'
25
31
- name : Install dependencies
26
32
run : |
27
33
python -m pip install --upgrade pip
Original file line number Diff line number Diff line change @@ -68,12 +68,12 @@ void setup() {
68
68
wcli.setCallback(new mESP32WifiCLICallbacks()); // (optional)
69
69
wcli.setSilentMode(true); // less debug output
70
70
71
- // Custom commands:
72
- wcli.add("sleep", &sleep, "\t\t<mode > <time > ESP32 sleep mode (deep/light)\r\n ");
71
+ // Custom commands example :
72
+ wcli.add("sleep", &sleep, "\t\t<mode > <time > ESP32 sleep mode (deep/light)");
73
73
wcli.add("echo", &echo, "\t\t\" message\" Echo the msg. Parameter into quotes");
74
74
wcli.add("info", &info, "\t\tsystem status info");
75
75
wcli.add("setled", &setled, "\t<PIN > config the LED GPIO for blink");
76
- wcli.add("blink", &blink, "\t\t<times > <millis > LED blink x times each x millis ");
76
+ wcli.add("blink", &blink, "\t\t<times > <millis > LED blink");
77
77
wcli.add("reboot", &reboot, "\tperform a ESP32 reboot");
78
78
79
79
wcli.shell->attachLogo(logo);
Original file line number Diff line number Diff line change @@ -143,10 +143,6 @@ void ESP32WifiCLI::wifiAPConnect(bool save) {
143
143
int retry = 0 ;
144
144
WiFi.begin (temp_ssid.c_str (), temp_pasw.c_str ());
145
145
146
- #ifdef FAMILY
147
- if (FAMILY == " ESP32-C3" ) WiFi.setTxPower (WIFI_POWER_8_5dBm); // TODO: uggly workaround for some C3 devices
148
- #endif
149
-
150
146
while (WiFi.status () != WL_CONNECTED && retry++ < 20 ) { // M5Atom will connect automatically
151
147
delay (1000 );
152
148
if (!silent) Serial.print (" ." );
You can’t perform that action at this time.
0 commit comments