1
0
Fork 0
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:
maxim.karban@gmail.com 2012-05-24 06:13:10 +00:00
parent d88cd7d95f
commit 0f9036f00d

View file

@ -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 ;