From f64cea8403ed81f8e7aee6558f55b8f98792dac5 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Tue, 12 Dec 2017 20:45:58 +0100 Subject: [PATCH] removed redundant message; fixed missing vlaue in client proto --- backend.proto | 12 +++--------- client.proto | 1 + 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/backend.proto b/backend.proto index bc6e06c..8400426 100644 --- a/backend.proto +++ b/backend.proto @@ -20,11 +20,6 @@ message BackendSetAll { int32 value = 1; } -message BackendSetLocalDirect { - int32 channel = 1; - int32 value = 2; -} - message BackendLEDOptions { map options = 1; } @@ -37,9 +32,8 @@ message BackendWrapperMessage { oneof msg { Backend m_backend = 2; BackendSetAll m_set_all = 3; - BackendSetLocalDirect m_set_local_direct = 4; - BackendLEDOptions m_options = 5; - BackendSetChannel m_set_channel = 6; - LedD m_ledd = 7; + BackendLEDOptions m_options = 4; + BackendSetChannel m_set_channel = 5; + LedD m_ledd = 6; } } diff --git a/client.proto b/client.proto index 791fd29..1717755 100644 --- a/client.proto +++ b/client.proto @@ -31,6 +31,7 @@ message GetLED { message SetDirect { string backend = 1; int32 channel = 2; + int32 value = 3; } message RPCResponse {