This commit is contained in:
hm
2022-11-08 08:30:31 +08:00
parent e0b165c333
commit 5ebc8be260
2 changed files with 2 additions and 16 deletions
-16
View File
@@ -804,22 +804,6 @@ void CommandUI::commandAccepted(bool flag,uint16_t command,uint8_t result)
{
if(string.size() > 0)
{
/*
QVariant flag;
Config *cfg = new Config();
cfg->getTTS(&flag);
if(flag.toBool())
{
QTextToSpeech *tts = new QTextToSpeech();
tts->say(string);
tts->deleteLater();
}
*/
say(string);
emit showMessage(string);
}
+2
View File
@@ -86,6 +86,8 @@ bool SBusParser::update(void)
ChannelTemp[15] = ((Buf[21] & 0x1F) << 6) | (Buf[20] >> 2);
ChannelTemp[16] = ((Buf[22] & 0xFF) << 3) | (Buf[21] >> 5);
qDebug() << "ch1" << ChannelTemp[1];
Channel[0] = seq;
for(int i = 1; i <= 16; ++i )
{