Skip to content

Commit

Permalink
Merge pull request #721 from esaulenka/fix/CppStandard17
Browse files Browse the repository at this point in the history
Update required C++ standard to C++17
  • Loading branch information
collin80 authored Jan 26, 2024
2 parents 51ef3f9 + 3bab2ec commit b33608b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SavvyCAN.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions connections/lawicel_serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b33608b

Please sign in to comment.