VC++ compilation

This commit is contained in:
Kilrah
2019-05-13 22:07:31 +02:00
parent 9049723c78
commit 00f68dadd2
+8 -6
View File
@@ -142,14 +142,16 @@ void delay_ms(uint32_t ms);
#define IS_FIRMWARE_COMPATIBLE_WITH_BOARD() (!IS_HORUS_PROD())
#endif
// Hardware options
PACK(typedef struct
{
#if NUM_PWMSTICKS > 0
uint8_t sticksPwmDisabled:1;
#endif
uint8_t pxx2Enabled:1;
PACK(typedef struct {
uint8_t sticksPwmDisabled : 1;
uint8_t pxx2Enabled : 1;
}) HardwareOptions;
#else
PACK(typedef struct {
uint8_t pxx2Enabled : 1;
}) HardwareOptions;
#endif
extern HardwareOptions hardwareOptions;