VC++ compilation continued
This commit is contained in:
@@ -137,6 +137,15 @@ struct BindInformation {
|
||||
|
||||
typedef void (* ModuleCallback)();
|
||||
|
||||
#if defined(SIMU)
|
||||
#define BIND_INFO \
|
||||
bindInformation->candidateReceiversCount = 2; \
|
||||
strcpy(bindInformation->candidateReceiversNames[0], "SimuRX1"); \
|
||||
strcpy(bindInformation->candidateReceiversNames[1], "SimuRX2");
|
||||
#else
|
||||
#define BIND_INFO
|
||||
#endif
|
||||
|
||||
PACK(struct ModuleState {
|
||||
uint8_t protocol:4;
|
||||
uint8_t mode:4;
|
||||
@@ -155,11 +164,7 @@ PACK(struct ModuleState {
|
||||
bindInformation = destination;
|
||||
callback = bindCallback;
|
||||
mode = MODULE_MODE_BIND;
|
||||
#if defined(SIMU)
|
||||
bindInformation->candidateReceiversCount = 2;
|
||||
strcpy(bindInformation->candidateReceiversNames[0], "SimuRX1");
|
||||
strcpy(bindInformation->candidateReceiversNames[1], "SimuRX2");
|
||||
#endif
|
||||
BIND_INFO;
|
||||
}
|
||||
void readModuleInformation(ModuleInformation * destination, int8_t first, int8_t last)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user