mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-08 19:07:38 +00:00
Make baseband event loop methods private.
This commit is contained in:
parent
2efbd337bd
commit
15791e345d
@ -715,6 +715,11 @@ public:
|
|||||||
is_running = false;
|
is_running = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
MessageHandlerMap message_map;
|
||||||
|
|
||||||
|
bool is_running = true;
|
||||||
|
|
||||||
eventmask_t wait() {
|
eventmask_t wait() {
|
||||||
return chEvtWaitAny(ALL_EVENTS);
|
return chEvtWaitAny(ALL_EVENTS);
|
||||||
}
|
}
|
||||||
@ -729,11 +734,6 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
|
||||||
MessageHandlerMap message_map;
|
|
||||||
|
|
||||||
bool is_running = true;
|
|
||||||
|
|
||||||
void handle_baseband_queue() {
|
void handle_baseband_queue() {
|
||||||
while( !shared_memory.baseband_queue.is_empty() ) {
|
while( !shared_memory.baseband_queue.is_empty() ) {
|
||||||
std::array<uint8_t, Message::MAX_SIZE> message_buffer;
|
std::array<uint8_t, Message::MAX_SIZE> message_buffer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user