1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-20 23:05:12 +03:00

Compilation problem on 64bits servers

This commit is contained in:
bsongis 2012-04-05 19:47:04 +00:00
parent 576c1ae47b
commit 1828d06122
4 changed files with 14 additions and 0 deletions

View file

@ -442,7 +442,9 @@ extern "C" void PWM_IRQHandler(void)
else {
// Kick off serial output here
sscptr = SSC;
#ifndef SIMU
sscptr->SSC_TPR = (uint32_t) Bit_pulses;
#endif
sscptr->SSC_TCR = Serial_byte_count;
sscptr->SSC_PTCR = SSC_PTCR_TXTEN; // Start transfers
}
@ -466,7 +468,9 @@ extern "C" void PWM_IRQHandler(void)
else {
// Kick off serial output here
sscptr = SSC;
#ifndef SIMU
sscptr->SSC_TPR = (uint32_t) Bit_pulses;
#endif
sscptr->SSC_TCR = Serial_byte_count;
sscptr->SSC_PTCR = SSC_PTCR_TXTEN; // Start transfers
}