also show polling rate in Hz

This commit is contained in:
Daniel Pavel 2013-07-02 12:23:47 +02:00
parent 9a2a28e0aa
commit 833f087fdf
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ def _update_details(button):
hid_version = device.protocol
yield ('Protocol', 'HID++ %1.1f' % hid_version if hid_version else 'unknown')
if device.polling_rate:
yield ('Polling rate', '%d ms' % device.polling_rate)
yield ('Polling rate', '%d ms (%dHz)' % (device.polling_rate, 1000 // device.polling_rate))
yield ('Serial', device.serial)