#pragma once /** @file serial_parse.h */ #include #include #include "protocol.h" #define CD_SERIAL_READ_SUCCESS true #define CD_SERIAL_READ_FAILURE false /** * parse serial data byte by byte * @return true if read success, false if read fails */ bool cd_serial_parse(uint8_t byte);