Merge pull request #721 from esaulenka/fix/CppStandard17

Update required C++ standard to C++17
This commit is contained in:
Collin Kidder
2024-01-25 21:27:23 -05:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
CONFIG += c++11 CONFIG += c++17
CONFIG += NO_UNIT_TESTS CONFIG += NO_UNIT_TESTS
DEFINES += QCUSTOMPLOT_USE_OPENGL DEFINES += QCUSTOMPLOT_USE_OPENGL
+2
View File
@@ -551,6 +551,7 @@ void LAWICELSerial::readSerialData()
break; break;
case 'b': case 'b':
buildFrame.setBitrateSwitch(true); //BRS enabled buildFrame.setBitrateSwitch(true); //BRS enabled
[[fallthrough]];
case 'd': //standard fd frame, BRS disabled case 'd': //standard fd frame, BRS disabled
//tIIILDD //tIIILDD
buildFrame.setFlexibleDataRateFormat(true); buildFrame.setFlexibleDataRateFormat(true);
@@ -581,6 +582,7 @@ void LAWICELSerial::readSerialData()
break; break;
case 'B': case 'B':
buildFrame.setBitrateSwitch(true); //BRS enabled buildFrame.setBitrateSwitch(true); //BRS enabled
[[fallthrough]];
case 'D': //extended fd frame case 'D': //extended fd frame
//TIIIIIIIILDD. //TIIIIIIIILDD.
buildFrame.setFlexibleDataRateFormat(true); buildFrame.setFlexibleDataRateFormat(true);