Relocate and clean up application Kconfig structure

This commit is contained in:
Martin Jäger
2020-07-24 08:49:47 +02:00
parent dc85b46477
commit bbd1312fe5
12 changed files with 57 additions and 71 deletions
+4 -4
View File
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#if CONFIG_EXT_THINGSET_SERIAL
#if CONFIG_THINGSET_SERIAL
#include <string.h>
#include <stdio.h>
@@ -21,8 +21,8 @@
struct device *uart_dev = device_get_binding(UART_DEVICE_NAME);
static char buf_resp[CONFIG_EXT_THINGSET_SERIAL_TX_BUF_SIZE];
static char buf_req[CONFIG_EXT_THINGSET_SERIAL_RX_BUF_SIZE];
static char buf_resp[CONFIG_THINGSET_SERIAL_TX_BUF_SIZE];
static char buf_req[CONFIG_THINGSET_SERIAL_RX_BUF_SIZE];
static volatile size_t req_pos = 0;
static volatile bool command_flag = false;
@@ -126,4 +126,4 @@ void serial_thread()
K_THREAD_DEFINE(serial_thread_id, 1024, serial_thread, NULL, NULL, NULL, 6, 0, 1000);
#endif /* CONFIG_EXT_THINGSET_SERIAL */
#endif /* CONFIG_THINGSET_SERIAL */