mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Fix macro for n
being an expression.
This commit is contained in:
parent
f9d1c554b7
commit
4ad0e04c23
@ -244,7 +244,7 @@ void Processor<BusHandler, dtack_is_implicit, permit_overrun, signal_will_perfor
|
||||
|
||||
// Performs no bus activity for the specified number of microcycles.
|
||||
#define IdleBus(n) \
|
||||
idle.length = HalfCycles(n * 4); \
|
||||
idle.length = HalfCycles((n) << 2); \
|
||||
PerformBusOperation(idle)
|
||||
|
||||
// Spin until DTACK, VPA or BERR is asserted (unless DTACK is implicit),
|
||||
|
Loading…
Reference in New Issue
Block a user