Missed a reference to BBGYRO

This commit is contained in:
xp986
2025-10-09 01:31:27 -05:00
parent 55ac790b43
commit 70c9e35ae4

View File

@@ -101,7 +101,7 @@ int main(int argc, char* argv[]) {
int gyros = 0; int gyros = 0;
bool gyros_found = false; bool gyros_found = false;
size_t bbgyro_index = std::string::npos; size_t bbgyro_index = std::string::npos;
const std::string bbgyro_token = "BBGYRO"; const std::string bbgyro_token = "BBGYRS";
for (size_t i = 0; i < lines.size(); ++i) { for (size_t i = 0; i < lines.size(); ++i) {
size_t pos = lines[i].find(bbgyro_token); size_t pos = lines[i].find(bbgyro_token);
@@ -178,4 +178,4 @@ int main(int argc, char* argv[]) {
} }
return 0; return 0;
} }