Only code clean up to remove many warnings. There should be no changes

to program operation.
This commit is contained in:
Collin Kidder
2022-12-05 19:33:47 -05:00
parent 549113f9e1
commit edc210c336
18 changed files with 62 additions and 59 deletions
+3
View File
@@ -798,6 +798,7 @@ void GVRetSerial::procRXChar(unsigned char c)
break;
case 9:
buildFrame.bus = c;
break;
default:
if (rx_step < buildData.length() + 10)
{
@@ -1010,6 +1011,8 @@ void GVRetSerial::procRXChar(unsigned char c)
emit status(stats);
break;
case GET_FD_SETTINGS:
break;
case GET_EXT_BUSES:
switch (rx_step)
{
+3 -3
View File
@@ -228,8 +228,8 @@ void MQTT_BUS::piSetBusSettings(int pBusIdx, CANBus bus)
bool MQTT_BUS::piSendFrame(const CANFrame& frame)
{
QByteArray buffer;
int c;
quint32 ID;
//int c;
//quint32 ID;
//qDebug() << "Sending out GVRET frame with id " << frame.ID << " on bus " << frame.bus;
@@ -278,7 +278,7 @@ void MQTT_BUS::readSettings()
void MQTT_BUS::clientMessageReceived(const QMQTT::Message& message)
{
uint64_t timeBasis = CANConManager::getInstance()->getTimeBasis();
//uint64_t timeBasis = CANConManager::getInstance()->getTimeBasis();
/* drop frame if capture is suspended */