From fb1bbd34dcae9518b61792f83dfbbc91c474ae37 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 27 Oct 2016 15:57:14 -0500 Subject: [PATCH] Update config.h Moved new variable at bottom as requested in this header comments. --- esp-link/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esp-link/config.h b/esp-link/config.h index ccefd5e..2b1f93e 100644 --- a/esp-link/config.h +++ b/esp-link/config.h @@ -15,8 +15,6 @@ typedef struct { uint8_t log_mode; // UART log debug mode uint8_t swap_uart; // swap uart0 to gpio 13&15 uint8_t tcp_enable, rssi_enable; // TCP client settings - uint8_t telnet_port1, // Telnet port settings - telnet_port2; char api_key[48]; // RSSI submission API key (Grovestreams for now) uint8_t slip_enable, mqtt_enable, // SLIP protocol, MQTT client mqtt_status_enable, // MQTT status reporting @@ -43,6 +41,8 @@ typedef struct { int8_t data_bits; int8_t parity; int8_t stop_bits; + uint8_t telnet_port1, // Telnet port settings + telnet_port2; } FlashConfig; extern FlashConfig flashConfig;