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 4b038d5 commit c3690a1Copy full SHA for c3690a1
src/peripherals/ppb.ts
@@ -121,7 +121,7 @@ export class RPPPB extends BasePeripheral implements Peripheral {
121
return countFlagValue | (this.systickControl & 0x7);
122
}
123
case SYST_CVR: {
124
- const delta = (rp2040.clock.micros - this.systickLastZero) % (this.systickReload + 1);
+ const delta = (rp2040.core.cycles - this.systickLastZero) % (this.systickReload + 1);
125
if (!delta) {
126
return 0;
127
0 commit comments