mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 14:25:11 +03:00
PXX for V4 fixed, tests need
This commit is contained in:
parent
d88cd7d95f
commit
0f9036f00d
1 changed files with 2 additions and 0 deletions
|
@ -734,6 +734,8 @@ void setupPulses()
|
||||||
#if defined(PCBV4)
|
#if defined(PCBV4)
|
||||||
TIMSK1 &= ~0x3C; // All interrupts off
|
TIMSK1 &= ~0x3C; // All interrupts off
|
||||||
TIFR1 = 0x2F;
|
TIFR1 = 0x2F;
|
||||||
|
TIMSK1 |= (1<<OCIE1B) ; // Enable COMPB
|
||||||
|
TIMSK1 |= (1<<OCIE1C); // Enable COMPC
|
||||||
#else
|
#else
|
||||||
TIMSK &= ~0x3C; // All interrupts off
|
TIMSK &= ~0x3C; // All interrupts off
|
||||||
TIFR = 0x3C ;
|
TIFR = 0x3C ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue