Commit 7b0c6ac
Update download mode detection (#685)
* Update download mode detection
Previously, this failed to detect download mode during this regex match in the following message.
```
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x0 (DOWNLOAD(USB/UART0))
waiting for download
```
`.*` only matches on any character EXCEPT line breaks, where as [\s\S]` will match on anything.
* fix fmt
* Update CHANGELOG.md
* Update espflash/src/connection/mod.rs
Co-authored-by: Sergio Gasquez Arcos <[email protected]>
* Update mod.rs
---------
Co-authored-by: Sergio Gasquez Arcos <[email protected]>
Co-authored-by: Jesse Braham <[email protected]>1 parent 30300c4 commit 7b0c6ac
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
| 177 | + | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| |||
0 commit comments