return if serial not enabled
This commit is contained in:
parent
ad04e0faad
commit
8d6dda6d64
@ -50,6 +50,8 @@ void courtesyTone(repeater* myrpt) {
|
||||
}
|
||||
|
||||
void serial_writer(serial* s, char* buff) {
|
||||
if (!s->enable)
|
||||
return;
|
||||
Serial.write(buff);
|
||||
Serial.write('\n');
|
||||
}
|
Loading…
Reference in New Issue
Block a user