Skip to content

Commit

Permalink
fix emsec#325
Browse files Browse the repository at this point in the history
* remove MemoryClear from ConfigurationSetById
  • Loading branch information
fptrs committed Sep 21, 2022
1 parent 62e2f71 commit 9fbb7fb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Firmware/Chameleon-Mini/Configuration.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,9 +528,6 @@ void ConfigurationSetById(ConfigurationEnum Configuration, bool appInitRunOnce)

GlobalSettings.ActiveSettingPtr->Configuration = Configuration;

/* Blank memory scape slate for the newly set configuration */
MemoryClear();

/* Copy struct from PROGMEM to RAM */
memcpy_P(&ActiveConfiguration,
&ConfigurationTable[Configuration], sizeof(ConfigurationType));
Expand Down

0 comments on commit 9fbb7fb

Please sign in to comment.