[VC++] Compilation fixes

This commit is contained in:
Bertrand Songis
2016-06-21 20:25:17 +02:00
parent ea562a2502
commit e64464ff9b
3 changed files with 7 additions and 5 deletions
+5 -3
View File
@@ -86,12 +86,14 @@ PACK(struct PxxTimerPulsesData {
uint32_t pcmOnesCount;
});
PACK(struct Dsm2TimerPulsesData {
#if defined(MULTIMODULE)
pulse_duration_t pulses[300];
#define MAX_PULSES_TRANSITIONS 300
#else
pulse_duration_t pulses[200];
#define MAX_PULSES_TRANSITIONS 200
#endif
PACK(struct Dsm2TimerPulsesData {
pulse_duration_t pulses[MAX_PULSES_TRANSITIONS];
pulse_duration_t * ptr;
uint16_t rest;
uint8_t index;