chore: 项目名改为 display ambient light desktop.

This commit is contained in:
2022-11-23 21:46:26 +08:00
parent 753074d0f4
commit 1b10c6bea9
6 changed files with 31 additions and 31 deletions

View File

@@ -31,7 +31,7 @@ impl Manager {
self.mqtt
.client
.publish(
"screen-bg-light/desktop/colors",
"display-ambient-light/desktop/colors",
rumqttc::QoS::AtLeastOnce,
false,
payload,

View File

@@ -29,7 +29,7 @@ impl MqttConnection {
async fn subscribe_board(&self) {
self.client
.subscribe("screen-bg-light/board/#", QoS::AtMostOnce).await;
.subscribe("display-ambient-light/board/#", QoS::AtMostOnce).await;
}
fn broadcast_desktop_online(&mut self) {
@@ -42,7 +42,7 @@ impl MqttConnection {
Ok(now_str) => {
match client
.publish(
"screen-bg-light/desktop/online",
"display-ambient-light/desktop/online",
QoS::AtLeastOnce,
false,
now_str.as_bytes(),