Skip to content

Commit

Permalink
wip 2.0 adds Layer Events & More display events
Browse files Browse the repository at this point in the history
  • Loading branch information
neroroxxx committed Feb 10, 2023
1 parent dd5c279 commit c6e494e
Show file tree
Hide file tree
Showing 23 changed files with 1,565 additions and 1,142 deletions.
2 changes: 1 addition & 1 deletion src/BMC-Api.h
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ class BMCApi : public BMC {
bmcStoreName e;
if(n<BMC_MAX_LAYERS){
//strcpy(t_string, store.layers[n].name);
return globals.getDeviceName(store.layers[n].name);
return globals.getDeviceName(store.layers[n].events[0].name);
}
return e;
}
Expand Down
5 changes: 5 additions & 0 deletions src/BMC.editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ void BMC::editorRead(){
callback.editorConnection(globals.editorConnected());
}
}
if(editor.wasStoreCleared()){
#if defined(BMC_HAS_DISPLAY) && BMC_MAX_ILI9341_BLOCKS > 0
display.renderStoreClearedBanner();
#endif
}
}
void BMC::assignStoreData(){
// The editor has updated data in EEPROM so we need to update all Hardware and Settings
Expand Down
Loading

0 comments on commit c6e494e

Please sign in to comment.