[ACT] First simu now compiles. Next step: the keys

This commit is contained in:
bsongis
2012-12-21 07:35:02 +00:00
parent 3d6d7e6a20
commit cea3ee724e
17 changed files with 277 additions and 85 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ void startPulses()
void setupPulsesPPM() // Don't enable interrupts through here
{
#if !defined(PCBX9D)
#if !defined(PCBX9D) && !defined(PCBACT)
register Pwm *pwmptr = PWM;
#endif
@@ -82,7 +82,7 @@ void setupPulsesPPM() // Don't enable interrupts through here
ptr = Pulses;
uint32_t p = 8 + g_model.ppmNCH * 2; //Channels *2
#if !defined(PCBX9D)
#if !defined(PCBX9D) && !defined(PCBACT)
pwmptr->PWM_CH_NUM[3].PWM_CDTYUPD = (g_model.ppmDelay * 50 + 300) * 2; //Stoplen *2
if (g_model.pulsePol)
pwmptr->PWM_CH_NUM[3].PWM_CMR |= 0x00000200 ; // CPOL