Delay and Duration added to Custom Switches for ARM (only added in EEPROM to avoid another conversion)

This commit is contained in:
bsongis
2012-07-10 13:57:44 +00:00
parent fa4e1e4fc0
commit 45fa6eadd0
+10
View File
@@ -289,11 +289,21 @@ PACK(typedef struct t_MixData {
}) MixData;
#endif
#if defined(PCBARM)
PACK(typedef struct t_CustomSwData { // Custom Switches data
int8_t v1; //input
int8_t v2; //offset
uint8_t func;
uint8_t delay;
uint8_t duration;
}) CustomSwData;
#else
PACK(typedef struct t_CustomSwData { // Custom Switches data
int8_t v1; //input
int8_t v2; //offset
uint8_t func;
}) CustomSwData;
#endif
enum Functions {
FUNC_SAFETY_CH1,