📄 pda_cmd.cpp
字号:
#include"pda_cmd.h"#include<stdio.h>void pda_cmd::pda_cmd_proxy(int cmd){ if(cmd & TO(PDA_CMD)) //if this cmd is for PDA { if(cmd & ui) //if this cmd is for ui emit sig_cmd_local_ui(cmd); else { if((cmd & ~(TO(PDA_CMD)))& TO(0xf)) //if this cmd is for anything else emit sig_cmd_ker(cmd); //if this cmd is for BT emit sig_cmd_BT(cmd); } } else //if this cmd is not { if(cmd & TO(0xf)) emit sig_cmd_ker(cmd); }}pda_cmd::pda_cmd(){ KER_connected = false;}pda_cmd::~pda_cmd(){}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -