Skip to content

Commit

Permalink
Added report interval message to uart channel
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchBradley committed Dec 11, 2023
1 parent cabeb75 commit c5144c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion FluidNC/src/UartChannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ void UartChannel::init() {
void UartChannel::init(Uart* uart) {
_uart = uart;
allChannels.registration(this);
log_info("uart_channel" << _uart_num << " created");
if (_report_interval_ms) {
log_info("uart_channel" << _uart_num << " created at report interval: " << _report_interval_ms);
} else {
log_info("uart_channel" << _uart_num << " created");
}
log_msg_to(*this, "RST");
// Give the extender a little time to process the command
delay(100);
Expand Down

0 comments on commit c5144c0

Please sign in to comment.