aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-02-14 22:39:51 -0500
committerKevin O'Connor <kevin@koconnor.net>2020-02-20 12:01:21 -0500
commit98c7c7603e92d39e2f87b82cb228aeda0b8d9f45 (patch)
tree8a79f627739eafbae5ac33791c2608cd4b88ae18
parente03f75e7583bd510cc06908fe38b8f676a09f6d3 (diff)
downloadkutter-98c7c7603e92d39e2f87b82cb228aeda0b8d9f45.tar.gz
kutter-98c7c7603e92d39e2f87b82cb228aeda0b8d9f45.tar.xz
kutter-98c7c7603e92d39e2f87b82cb228aeda0b8d9f45.zip
basecmd: No need for finalize_config command to send "config" response
The host code always issues a get_config command immediately after finalize_config, so there is no need to send the two config response messages. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--src/basecmd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/basecmd.c b/src/basecmd.c
index 7b402ca1..40ab2b0c 100644
--- a/src/basecmd.c
+++ b/src/basecmd.c
@@ -1,6 +1,6 @@
// Basic infrastructure commands.
//
-// Copyright (C) 2016,2017 Kevin O'Connor <kevin@koconnor.net>
+// Copyright (C) 2016-2020 Kevin O'Connor <kevin@koconnor.net>
//
// This file may be distributed under the terms of the GNU GPLv3 license.
@@ -211,7 +211,6 @@ command_finalize_config(uint32_t *args)
{
move_finalize();
config_crc = args[0];
- command_get_config(NULL);
}
DECL_COMMAND(command_finalize_config, "finalize_config crc=%u");