mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-23 17:01:31 -04:00
Simplify app->baseband message handling.
No need for a FIFO when all messages are intended to be synchronous.
This commit is contained in:
parent
61325e4696
commit
d41c6ee36a
4 changed files with 37 additions and 36 deletions
|
@ -33,14 +33,12 @@ struct TouchADCFrame {
|
|||
|
||||
/* NOTE: These structures must be located in the same location in both M4 and M0 binaries */
|
||||
struct SharedMemory {
|
||||
static constexpr size_t baseband_queue_k = 11;
|
||||
static constexpr size_t application_queue_k = 11;
|
||||
static constexpr size_t app_local_queue_k = 11;
|
||||
|
||||
uint8_t baseband_queue_data[1 << baseband_queue_k];
|
||||
uint8_t application_queue_data[1 << application_queue_k];
|
||||
uint8_t app_local_queue_data[1 << app_local_queue_k];
|
||||
MessageQueue baseband_queue;
|
||||
const Message* volatile baseband_message;
|
||||
MessageQueue application_queue;
|
||||
MessageQueue app_local_queue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue