Update required C++ standard to C++17 (needed by [[fallthrough]] statements)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user