Spacing, defined(), #include tweaks

This commit is contained in:
Scott Lahteine
2019-08-29 17:06:18 -05:00
parent 7ebfae27e3
commit d25231aea8
9 changed files with 27 additions and 22 deletions

View File

@ -108,11 +108,11 @@ public:
void flush() { receive_buffer.clear(); }
uint8_t availableForWrite(void){
uint8_t availableForWrite(void) {
return transmit_buffer.free() > 255 ? 255 : (uint8_t)transmit_buffer.free();
}
void flushTX(void){
void flushTX(void) {
if (host_connected)
while (transmit_buffer.available()) { /* nada */ }
}