Skip to content

Commit 7ec0267

Browse files
committed
Fix AT version check
1 parent 5d8af00 commit 7ec0267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ESP32/ESP32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ bool ESP32::reset(void)
407407
uint8_t wk_ver[4+1]; /* It needs 1 byte extra. */
408408

409409
if (_parser.send("AT+GMR")
410-
&& _parser.recv("AT version:%hhx.%hhx.%hhx.%hhx(", &wk_ver[0], &wk_ver[1], &wk_ver[2], &wk_ver[3])
410+
&& _parser.recv("AT version:%hhx.%hhx.%hhx.%hhx", &wk_ver[0], &wk_ver[1], &wk_ver[2], &wk_ver[3])
411411
&& _parser.recv("OK")
412412
) {
413413
_at_version = (wk_ver[0] << 24)

0 commit comments

Comments
 (0)