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:
parent
576c1ae47b
commit
1828d06122
4 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue