Make baseband event loop methods private.

This commit is contained in:
Jared Boone 2015-08-20 17:57:59 -07:00
parent 2efbd337bd
commit 15791e345d

View File

@ -715,6 +715,11 @@ public:
is_running = false;
}
private:
MessageHandlerMap message_map;
bool is_running = true;
eventmask_t wait() {
return chEvtWaitAny(ALL_EVENTS);
}
@ -729,11 +734,6 @@ public:
}
}
private:
MessageHandlerMap message_map;
bool is_running = true;
void handle_baseband_queue() {
while( !shared_memory.baseband_queue.is_empty() ) {
std::array<uint8_t, Message::MAX_SIZE> message_buffer;