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 1e3a877 commit 39ea652Copy full SHA for 39ea652
src/cortex-m0-core.ts
@@ -570,10 +570,10 @@ export class CortexM0Core {
570
571
cyclesIO(addr: number, write = false) {
572
addr = addr >>> 0;
573
- if(addr >= SIO_START_ADDRESS && addr < SIO_START_ADDRESS + 0x10000000) {
+ if (addr >= SIO_START_ADDRESS && addr < SIO_START_ADDRESS + 0x10000000) {
574
return 0;
575
}
576
- if(addr >= APB_START_ADDRESS && addr < APB_START_ADDRESS + 0x10000000) {
+ if (addr >= APB_START_ADDRESS && addr < APB_START_ADDRESS + 0x10000000) {
577
return write ? 4 : 3;
578
579
return 1;
0 commit comments