mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-10 07:30:08 -04:00
improved m4 m0 communication
This commit is contained in:
parent
2ef9ebd7bd
commit
29b7a5ee56
7 changed files with 44 additions and 37 deletions
|
@ -65,10 +65,10 @@ struct SharedMemory {
|
|||
uint8_t data[512];
|
||||
} bb_data { { { { 0, 0 } }, 0, { 0 } } };
|
||||
|
||||
uint8_t request_m4_performance_counter{ 0 };
|
||||
uint8_t m4_cpu_usage{ 0 };
|
||||
uint16_t m4_stack_usage{ 0 };
|
||||
uint16_t m4_heap_usage{ 0 };
|
||||
uint8_t volatile request_m4_performance_counter{ 0 };
|
||||
uint8_t volatile m4_cpu_usage{ 0 };
|
||||
uint16_t volatile m4_stack_usage{ 0 };
|
||||
uint16_t volatile m4_heap_usage{ 0 };
|
||||
};
|
||||
|
||||
extern SharedMemory& shared_memory;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue