Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Nov 19, 2024
1 parent 407b80e commit d1858b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ build_flags =
; -O3
-Og
; -Os
-D CONFIG_ARDUHAL_LOG_COLORS
; -D CONFIG_ARDUHAL_LOG_COLORS
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
; -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
; -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
Expand Down
3 changes: 1 addition & 2 deletions src/Website.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
static const ChartSize chartSize = {.xs = 12, .sm = 12, .md = 12, .lg = 12, .xl = 12, .xxl = 12};
#endif

int _historyX[YASOLR_GRAPH_POINTS] = {0};

// statistics
Statistic _appName = Statistic(&dashboard, YASOLR_LBL_001);
Statistic _appModel = Statistic(&dashboard, YASOLR_LBL_002);
Expand Down Expand Up @@ -286,6 +284,7 @@ Card _pidOutMax = Card(&dashboard, TEXT_INPUT_CARD, YASOLR_LBL_165);
Card _pidReset = Card(&dashboard, PUSH_BUTTON_CARD, YASOLR_LBL_177);

// input,output,error,pTerm,iTerm,dTerm,sum
int _historyX[YASOLR_GRAPH_POINTS] = {0};
int _pidInputHistoryY[YASOLR_GRAPH_POINTS] = {0};
int _pidOutputHistoryY[YASOLR_GRAPH_POINTS] = {0};
int _pidErrorHistoryY[YASOLR_GRAPH_POINTS] = {0};
Expand Down

0 comments on commit d1858b0

Please sign in to comment.