fixed build errors on rust - removed RGB support for GA502

This commit is contained in:
Armas Spann
2020-06-10 20:54:57 +02:00
parent b121d888d9
commit 4d6fd32183
3 changed files with 9 additions and 5 deletions

View File

@@ -83,8 +83,8 @@ impl AuraDbusWriter {
pub fn write_multizone(
&mut self,
group: &[[u8; LED_MSG_LEN]; 4],
) -> Result<String, Box<dyn std::error::Error>> {
let msg = Message::new_method_call(DBUS_NAME, DBUS_PATH, DBUS_IFACE, "LedWriteMultizone")?
) -> Result<(), Box<dyn std::error::Error>> {
let mut msg = Message::new_method_call(DBUS_NAME, DBUS_PATH, DBUS_IFACE, "LedWriteMultizone")?
.append1(&group[0].to_vec())
.append1(&group[1].to_vec())
.append1(&group[2].to_vec())