Skip to content

Commit d8a7fe1

Browse files
authored
Update ATCmdParser example code.
The previous example code was not very helpful, as it doesn't show the use of UARTSerial.
1 parent 50fdca8 commit d8a7fe1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

platform/ATCmdParser.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
*
3030
* Here are some examples:
3131
* @code
32-
* ATCmdParser at = ATCmdParser(serial, "\r\n");
32+
* UARTSerial serial = UARTSerial(D1, D0);
33+
* ATCmdParser at = ATCmdParser(&serial, "\r\n");
3334
* int value;
3435
* char buffer[100];
3536
*

0 commit comments

Comments
 (0)