chore: 项目名改为 display ambient light desktop.
This commit is contained in:
@@ -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,
|
||||
|
@@ -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(),
|
||||
|
Reference in New Issue
Block a user