Skip to content

Commit

Permalink
Fixed CTS RTS not showing, increased build version
Browse files Browse the repository at this point in the history
  • Loading branch information
seeul8er committed Mar 6, 2024
1 parent 3a89655 commit d6cdbef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
#include "db_esp32_control.h"

#define MAX_LTM_FRAMES_IN_BUFFER 5
#define BUILDVERSION 9
#define BUILDVERSION 10
#define MAJOR_VERSION 1
#define MINOR_VERSION 4
#define MINOR_VERSION 5

// can be set by user
extern uint8_t DB_WIFI_MODE;
Expand Down
3 changes: 3 additions & 0 deletions main/http_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ static esp_err_t settings_data_get_handler(httpd_req_t *req) {
cJSON_AddNumberToObject(root, "trans_pack_size", TRANSPARENT_BUF_SIZE);
cJSON_AddNumberToObject(root, "tx_pin", DB_UART_PIN_TX);
cJSON_AddNumberToObject(root, "rx_pin", DB_UART_PIN_RX);
cJSON_AddNumberToObject(root, "cts_pin", DB_UART_PIN_CTS);
cJSON_AddNumberToObject(root, "rts_pin", DB_UART_PIN_RTS);
cJSON_AddNumberToObject(root, "rts_thresh", DB_UART_RTS_THRESH);
cJSON_AddNumberToObject(root, "baud", DB_UART_BAUD_RATE);
cJSON_AddNumberToObject(root, "telem_proto", SERIAL_PROTOCOL);
cJSON_AddNumberToObject(root, "ltm_pp", LTM_FRAME_NUM_BUFFER);
Expand Down

0 comments on commit d6cdbef

Please sign in to comment.