Remove magic numbers from HW Diags menu #111

Closed
opened 2019-05-02 14:01:06 -06:00 by 2Shirt · 1 comment
2Shirt commented 2019-05-02 14:01:06 -06:00 (Migrated from gitea.2shirt.work)

[..] for example if main_options[2]['Enabled'] and main_options[5]['Enabled']:
[change to] main_options[OPTIONS.disk_diagnostic]['Enabled']

i.e. use another var to track the indices by name for better readability

> [..] for example `if main_options[2]['Enabled'] and main_options[5]['Enabled']:` > [change to] `main_options[OPTIONS.disk_diagnostic]['Enabled']` i.e. use another var to track the indices by name for better readability
2Shirt commented 2020-01-12 18:21:19 -07:00 (Migrated from gitea.2shirt.work)

Replaced menu using new Menu() object from wk.std. Relevant commits: 0707d650f6, 21b44d01ff, & 8f663072f6

Replaced menu using new Menu() object from wk.std. Relevant commits: 0707d650f646c5f7229ab03331ab606a275a1df7, 21b44d01ff33e65661bc3b27a236da98caaaefd9, & 8f663072f6549c33dd8345615e17d963549e43e5
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: 2Shirt/WizardKit#111
No description provided.