Skip to content

Commit

Permalink
#46
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Sep 24, 2020
1 parent 2888e60 commit 1442760
Show file tree
Hide file tree
Showing 7 changed files with 47,093 additions and 47,057 deletions.
28 changes: 19 additions & 9 deletions modular-psu-firmware.eez-project
Original file line number Diff line number Diff line change
Expand Up @@ -14744,14 +14744,20 @@
{
"type": "Text",
"style": {
"inheritFrom": "status_icon_enabled"
"inheritFrom": "status_bgnd",
"font": "Heydings14",
"alignVertical": "center",
"color": "status_line_text",
"backgroundColor": "status_line_background",
"activeColor": "status_line_background",
"activeBackgroundColor": "status_line_text"
},
"action": "show_main_page",
"action": "show_previous_page",
"left": 0,
"top": 0,
"width": 41,
"height": 32,
"text": "H"
"text": "E"
},
{
"type": "Text",
Expand Down Expand Up @@ -15261,14 +15267,16 @@
{
"type": "Text",
"style": {
"inheritFrom": "status_icon_enabled"
"inheritFrom": "status_title",
"font": "Heydings14",
"alignHorizontal": "center"
},
"action": "show_main_page",
"action": "show_previous_page",
"left": 0,
"top": 0,
"width": 41,
"height": 32,
"text": "H"
"text": "E"
},
{
"type": "Text",
Expand Down Expand Up @@ -15752,14 +15760,16 @@
{
"type": "Text",
"style": {
"inheritFrom": "status_icon_enabled"
"inheritFrom": "status_title",
"font": "Heydings14",
"alignHorizontal": "center"
},
"action": "show_main_page",
"action": "show_previous_page",
"left": 0,
"top": 0,
"width": 41,
"height": 32,
"text": "H"
"text": "E"
},
{
"type": "Text",
Expand Down
3 changes: 2 additions & 1 deletion src/eez/firmware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ void boot() {
g_slots[slotIndex]->enabled = true;
g_slots[slotIndex]->moduleRevision = moduleRevision;
g_slots[slotIndex]->firmwareInstalled = firmwareInstalled;
g_slots[slotIndex]->boot();

if (g_slots[slotIndex]->moduleType != MODULE_TYPE_NONE) {
g_slots[slotIndex]->enabled = psu::persist_conf::isSlotEnabled(slotIndex);
Expand All @@ -153,6 +152,8 @@ void boot() {

numInstalledModules++;
}

g_slots[slotIndex]->boot();
}

if (numInstalledModules == 1) {
Expand Down
58,928 changes: 29,464 additions & 29,464 deletions src/eez/gui/document_simulator.cpp

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/eez/gui/document_simulator.h
Original file line number Diff line number Diff line change
Expand Up @@ -2112,4 +2112,4 @@ enum PagesEnum {
PAGE_ID_DIB_DCM224_SLOT_MICRO_2CH_OFF = 246
};

extern const uint8_t assets[533118];
extern const uint8_t assets[533105];
Loading

0 comments on commit 1442760

Please sign in to comment.