aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/spi.spec.ts
diff options
context:
space:
mode:
authorUri Shaked2020-12-27 00:05:54 +0200
committerUri Shaked2020-12-27 00:05:54 +0200
commit988070a92d4654a40a0bf55a9b3ff5c0b7e1ae5e (patch)
tree07e6c0467ea0f47e31d69afa9e8e6e2377791dbc /src/peripherals/spi.spec.ts
parent0.14.7 (diff)
downloadavr8js-988070a92d4654a40a0bf55a9b3ff5c0b7e1ae5e.tar.gz
avr8js-988070a92d4654a40a0bf55a9b3ff5c0b7e1ae5e.tar.bz2
avr8js-988070a92d4654a40a0bf55a9b3ff5c0b7e1ae5e.zip
fix(timer): Output Compare in PWM modes #78
close #78
Diffstat (limited to 'src/peripherals/spi.spec.ts')
-rw-r--r--src/peripherals/spi.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripherals/spi.spec.ts b/src/peripherals/spi.spec.ts
index 635e657..f323b88 100644
--- a/src/peripherals/spi.spec.ts
+++ b/src/peripherals/spi.spec.ts
@@ -160,7 +160,7 @@ describe('SPI', () => {
return 0x5b; // we copy this byte to
};
- const runner = new TestProgramRunner(cpu);
+ const runner = new TestProgramRunner(cpu, () => 0);
runner.runToBreak();
// 16 cycles per clock * 8 bits = 128