From d794cbcc38c64e3de7d4cc847d98db7874a8c5f5 Mon Sep 17 00:00:00 2001 From: Juan Pablo Pino Bravo Date: Tue, 28 Jan 2025 12:59:59 +0100 Subject: [PATCH 1/2] Add req/rep to flash esc settings --- protobuf_definitions/req_rep.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/protobuf_definitions/req_rep.proto b/protobuf_definitions/req_rep.proto index 71cd61db..6a3ab808 100644 --- a/protobuf_definitions/req_rep.proto +++ b/protobuf_definitions/req_rep.proto @@ -188,3 +188,13 @@ message GetPersistentStorageSettingsReq { message GetPersistentStorageSettingsRep { PersistentStorageSettings persistent_storage_settings = 1; // The currently set persistent storage settings. } + +// Request to flash ESC settings. +message FlashEscSettingsReq { + bool startup_sounds = 1; // If startup sounds should be enabled. +} + +// Response after flashing ESC settings. +message FlashEscSettingsRep { + bool success = 1; // If the ESC settings were flashed successfully. +} From 6b067d7e3927fd569b2e62edf20a3200cbf9a566 Mon Sep 17 00:00:00 2001 From: Juan Pablo Pino Bravo Date: Tue, 28 Jan 2025 13:37:02 +0100 Subject: [PATCH 2/2] Rename startup_sounds to silent --- protobuf_definitions/req_rep.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protobuf_definitions/req_rep.proto b/protobuf_definitions/req_rep.proto index 6a3ab808..84ab0afb 100644 --- a/protobuf_definitions/req_rep.proto +++ b/protobuf_definitions/req_rep.proto @@ -191,7 +191,7 @@ message GetPersistentStorageSettingsRep { // Request to flash ESC settings. message FlashEscSettingsReq { - bool startup_sounds = 1; // If startup sounds should be enabled. + bool silent = 1; // If startup sounds should be disabled. } // Response after flashing ESC settings.