Skip to content

Commit

Permalink
lists variables not declared as static
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Jul 12, 2019
1 parent 9f18093 commit 29a269b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions src/eez/apps/psu/gui/page_ch_settings_trigger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,6 @@ void ChSettingsTriggerPage::editListCount() {

////////////////////////////////////////////////////////////////////////////////

float ChSettingsListsPage::m_voltageList[MAX_LIST_LENGTH];

float ChSettingsListsPage::m_currentList[MAX_LIST_LENGTH];

float ChSettingsListsPage::m_dwellList[MAX_LIST_LENGTH];

void ChSettingsListsPage::pageAlloc() {
m_listVersion = 0;
m_iCursor = 0;
Expand Down
6 changes: 3 additions & 3 deletions src/eez/apps/psu/gui/page_ch_settings_trigger.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ class ChSettingsListsPage : public SetPage {

int m_listVersion;

static float m_voltageList[MAX_LIST_LENGTH];
float m_voltageList[MAX_LIST_LENGTH];
uint16_t m_voltageListLength;

static float m_currentList[MAX_LIST_LENGTH];
float m_currentList[MAX_LIST_LENGTH];
uint16_t m_currentListLength;

static float m_dwellList[MAX_LIST_LENGTH];
float m_dwellList[MAX_LIST_LENGTH];
uint16_t m_dwellListLength;

int m_iCursor;
Expand Down

0 comments on commit 29a269b

Please sign in to comment.