diff --git a/SavvyCAN.pro b/SavvyCAN.pro index 3b782a9..def354a 100644 --- a/SavvyCAN.pro +++ b/SavvyCAN.pro @@ -8,7 +8,7 @@ QT = core gui printsupport qml serialbus serialport widgets help network opengl CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT -CONFIG += c++11 +CONFIG += c++17 CONFIG += NO_UNIT_TESTS DEFINES += QCUSTOMPLOT_USE_OPENGL diff --git a/connections/lawicel_serial.cpp b/connections/lawicel_serial.cpp index 0b502f8..34b4fd4 100644 --- a/connections/lawicel_serial.cpp +++ b/connections/lawicel_serial.cpp @@ -551,6 +551,7 @@ void LAWICELSerial::readSerialData() break; case 'b': buildFrame.setBitrateSwitch(true); //BRS enabled + [[fallthrough]]; case 'd': //standard fd frame, BRS disabled //tIIILDD buildFrame.setFlexibleDataRateFormat(true); @@ -581,6 +582,7 @@ void LAWICELSerial::readSerialData() break; case 'B': buildFrame.setBitrateSwitch(true); //BRS enabled + [[fallthrough]]; case 'D': //extended fd frame //TIIIIIIIILDD. buildFrame.setFlexibleDataRateFormat(true);