mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-02-04 07:27:47 +00:00
print hold to 2dp
This commit is contained in:
parent
86ff40952b
commit
6e3953e946
@ -800,7 +800,7 @@ var busCompHoldCmd = &cobra.Command{
|
||||
if err != nil {
|
||||
return fmt.Errorf("Error getting bus Compressor hold time: %w", err)
|
||||
}
|
||||
cmd.Printf("Bus %d Compressor hold time: %.1f ms\n", busIndex, hold)
|
||||
cmd.Printf("Bus %d Compressor hold time: %.2f ms\n", busIndex, hold)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -815,7 +815,7 @@ var busCompHoldCmd = &cobra.Command{
|
||||
return fmt.Errorf("Error setting bus Compressor hold time: %w", err)
|
||||
}
|
||||
|
||||
cmd.Printf("Bus %d Compressor hold time set to %.1f ms\n", busIndex, hold)
|
||||
cmd.Printf("Bus %d Compressor hold time set to %.2f ms\n", busIndex, hold)
|
||||
return nil
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user