mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
ae6bdc9d25
commit
2109161534
@@ -76,12 +76,12 @@ int main(int argc, char** argv) {
|
||||
switch (prop.GetKind()) {
|
||||
case wpi::cs::VideoProperty::kBoolean:
|
||||
wpi::util::print(" (bool): value={} default={}", prop.Get(),
|
||||
prop.GetDefault());
|
||||
prop.GetDefault());
|
||||
break;
|
||||
case wpi::cs::VideoProperty::kInteger:
|
||||
wpi::util::print(" (int): value={} min={} max={} step={} default={}",
|
||||
prop.Get(), prop.GetMin(), prop.GetMax(), prop.GetStep(),
|
||||
prop.GetDefault());
|
||||
prop.Get(), prop.GetMin(), prop.GetMax(),
|
||||
prop.GetStep(), prop.GetDefault());
|
||||
break;
|
||||
case wpi::cs::VideoProperty::kString:
|
||||
wpi::util::print(" (string): {}", prop.GetString());
|
||||
|
||||
Reference in New Issue
Block a user