Skip to content

Commit 1697eb6

Browse files
committed
Change loopCmdProcessing signature to use Stream objects.
1 parent b6d6c44 commit 1697eb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/CmdCallback.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
void CmdCallbackObject::loopCmdProcessing(CmdParser * cmdParser,
1010
CmdBufferObject *cmdBuffer,
11-
HardwareSerial * serial)
11+
Stream * serial)
1212
{
1313
do {
1414
// read data

src/CmdCallback.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class CmdCallbackObject
3838
* @param serial Arduino serial interface from comming data
3939
*/
4040
void loopCmdProcessing(CmdParser *cmdParser, CmdBufferObject *cmdBuffer,
41-
HardwareSerial *serial);
41+
Stream *serial);
4242

4343
/**
4444
* Search command in the buffer and execute the callback function.

0 commit comments

Comments
 (0)