We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7234375 commit 1a16e6aCopy full SHA for 1a16e6a
ports/raspberrypi/supervisor/port.c
@@ -268,8 +268,8 @@ static volatile bool _woken_up;
268
uint64_t port_get_raw_ticks(uint8_t *subticks) {
269
uint64_t microseconds = time_us_64();
270
if (subticks != NULL) {
271
- *subticks = (uint8_t) (((microseconds % 1000000) % 977) / 31);
272
- }
+ *subticks = (uint8_t)(((microseconds % 1000000) % 977) / 31);
+ }
273
return 1024 * (microseconds / 1000000) + (microseconds % 1000000) / 977;
274
}
275
0 commit comments