Skip to content

Commit d1d7c81

Browse files
committed
add typedef for COBS and reduce SLIP default buffer size
1 parent 9760a7b commit d1d7c81

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/PacketSerial.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,5 +146,6 @@ class PacketSerial_
146146
};
147147

148148

149-
typedef PacketSerial_<COBS> PacketSerial;
150-
typedef PacketSerial_<SLIP, SLIP::END, 8192> SLIPPacketSerial;
149+
typedef PacketSerial_<COBS> PacketSerial;
150+
typedef PacketSerial_<COBS> COBSPacketSerial;
151+
typedef PacketSerial_<SLIP, SLIP::END> SLIPPacketSerial;

0 commit comments

Comments
 (0)