b
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user