1 2 3 4 5 6 7 8 9
#include <global.h> OSMesgQueue* osPiGetCmdQueue() { if (!__osPiDevMgr.initialized) return NULL; return __osPiDevMgr.cmdQueue; }