Commit a27cb61
authored
Encoder: fix frequency getter
This change fixes the following:
- Correct calculation of the frequency from period on the property getter
- Cast the string returned from sysfs to int to perform the calculation
- Fix the period variable for logging and debug properties1 parent 6909243 commit a27cb61
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
| 280 | + | |
280 | 281 | | |
281 | 282 | | |
282 | 283 | | |
| |||
0 commit comments