Fix serial index types

This commit is contained in:
Scott Lahteine committed 2021-04-29 08:45:15 -05:00
1 parent 01f3dc6d41
commit e1cca6d97b
4 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -29,11 +29,11 @@
#include "../libs/heatshrink/heatshrink_decoder.h"
#endif
inline bool bs_serial_data_available(const uint8_t index) {
inline bool bs_serial_data_available(const serial_index_t index) {
return SERIAL_IMPL.available(index);
}
inline int bs_read_serial(const uint8_t index) {
inline int bs_read_serial(const serial_index_t index) {
return SERIAL_IMPL.read(index);
}