Stop printing text messages to serial
This commit is contained in:
parent
cf16ca4b12
commit
e056a4c7c9
@ -12,7 +12,7 @@ struct Serv {
|
||||
impl syslog_rpc::Server for Serv {
|
||||
fn send_message(&self, message: syslog_structs::Message) -> Result<(), ()> {
|
||||
if let Some(text) = message.text.as_ref() {
|
||||
println!("[{}] {}", message.from, text);
|
||||
//println!("[{}] {}", message.from, text);
|
||||
let text_msg = Message {
|
||||
from: message.from.clone(),
|
||||
text: message.text.clone(),
|
||||
|
Loading…
Reference in New Issue
Block a user