implemented M4 stats

This commit is contained in:
Bernd Herzog 2023-04-23 21:48:45 +02:00
parent 850a79c9bb
commit 2ef9ebd7bd
7 changed files with 100 additions and 32 deletions

View file

@ -64,6 +64,11 @@ struct SharedMemory {
JammerChannel jammer_channels[24];
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 };
};
extern SharedMemory& shared_memory;