Fix overflow in base sketch

Currently, the reference firmware has a potential buffer overflow in the serial code.
This line should fix this problem.