Fix serial index types

This commit is contained in:
Scott Lahteine
2021-03-10 11:33:29 -06:00
parent b75e682c50
commit fe0b770033
4 changed files with 6 additions and 6 deletions

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);
}