mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-25 15:20:31 -04:00
fix pmem -> make backup_ram_t data members volatile (#1135)
* fix pmem -> make backup_ram_t data members volatile plus add calculated crc to the pmem debug screen * rename pmem debug menu to p.mem As this is how its refered to in the wiki and other screens * p.mem looked strange with capital P --------- Co-authored-by: Eisenberger Tamas <e.tamas@iwstudio.hu>
This commit is contained in:
parent
b87d26f271
commit
b9de1918b4
3 changed files with 23 additions and 8 deletions
|
@ -354,8 +354,8 @@ struct data_t {
|
|||
|
||||
struct backup_ram_t {
|
||||
private:
|
||||
uint32_t regfile[63];
|
||||
uint32_t check_value;
|
||||
volatile uint32_t regfile[63];
|
||||
volatile uint32_t check_value;
|
||||
|
||||
static void copy(const backup_ram_t& src, backup_ram_t& dst) {
|
||||
for (size_t i = 0; i < 63; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue