Skip to content

Commit e05454c

Browse files
committed
Fix TypeError in SPI tests frequency calculation
1 parent ff20446 commit e05454c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_spi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
CS = "LA3"
3131
SPIMaster._primary_prescaler = PPRE = 0
3232
SPIMaster._secondary_prescaler = SPRE = 0
33-
PWM_FERQUENCY = SPIMaster._frequency * 2 / 3
33+
PWM_FERQUENCY = 166666.67
3434
MICROSECONDS = 1e-6
3535
RELTOL = 0.05
3636
# Number of expected logic level changes.

0 commit comments

Comments
 (0)