mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
[dlt] Export boolean[] values (#4082)
This commit is contained in:
@@ -120,6 +120,13 @@ int main(int argc, const char** argv) {
|
||||
} else {
|
||||
fmt::print(" invalid\n");
|
||||
}
|
||||
} else if (entry->second.type == "boolean[]") {
|
||||
std::vector<int> val;
|
||||
if (record.GetBooleanArray(&val)) {
|
||||
fmt::print(" {}\n", fmt::join(val, ", "));
|
||||
} else {
|
||||
fmt::print(" invalid\n");
|
||||
}
|
||||
} else if (entry->second.type == "double[]") {
|
||||
std::vector<double> val;
|
||||
if (record.GetDoubleArray(&val)) {
|
||||
|
||||
Reference in New Issue
Block a user