Skip to content

Commit 60550c1

Browse files
Merge pull request #4726 from sarahmarshy/patch-11
Update ATCmdParser example code
2 parents 57a4c95 + d8a7fe1 commit 60550c1

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)