pref: 缓存显示器参数读数。#5.

This commit is contained in:
2023-02-18 14:47:41 +08:00
parent 070100cdbc
commit 550328ba1e
10 changed files with 245 additions and 51 deletions

View File

@@ -31,7 +31,7 @@ impl MqttRpc {
match eventloop.poll().await {
Ok(notification) => {
let handled = || -> anyhow::Result<()> {
println!("MQTT notification = {:?}", notification);
// println!("MQTT notification = {:?}", notification);
if let Event::Incoming(notification) = notification {
if let Incoming::Publish(notification) = notification {
match notification.topic.as_str() {