Receive that following warning 'missing braces around initializer' TSS_Freemaster.C
the code is:
#if FMSTR_USE_TSA
/* FreeMASTER TSA table for TSS variables */
//FreeMASTER interface to write
FMSTR_WRITE_STRUCT)
FMSTR_WRITE_STRUCT, indexdata, FMSTR_TSA_UINT32)
FMSTR_WRITE_STRUCT, flagreg, FMSTR_TSA_UINT32)
FMSTR_CONFIG_STRUCT)
FMSTR_CONFIG_STRUCT, ptr_size, FMSTR_TSA_UINT8)
FMSTR_CONFIG_STRUCT, low_bit_mask, FMSTR_TSA_UINT8)
//TSS system config menu
TSS_CSSystem)
TSS_CSSystem, Faults, FMSTR_TSA_UINT8)
TSS_CSSystem, SystemConfig, FMSTR_TSA_UINT8)
TSS_CSSystem, NSamples, FMSTR_TSA_UINT8)
TSS_CSSystem, DCTrackerRate, FMSTR_TSA_UINT8)
TSS_CSSystem, SlowDCTrackerFactor, FMSTR_TSA_UINT8)
TSS_CSSystem, ResponseTime, FMSTR_TSA_UINT8)
TSS_CSSystem, StuckKeyTimeout, FMSTR_TSA_UINT8)
TSS_CSSystem, LowPowerElectrode, FMSTR_TSA_UINT8)
TSS_CSSystem, LowPowerElectrodeSensitivity, FMSTR_TSA_UINT8)
TSS_CSSystem, SystemTrigger, FMSTR_TSA_UINT8)
// Keydetector 2 data
#if (TSS_USE_KEYDETECTOR_VERSION == 2)
#endif
//electrodes config menu
#if TSS_USE_DELTA_LOG
#endif
#if TSS_USE_SIGNAL_LOG
#endif
#if TSS_USE_INTEGRATION_DELTA_LOG
#endif
#if ((TSS_USE_NOISE_MODE == 1) && (TSS_USE_NOISE_SIGNAL_LOG == 1))
#endif
//controls menu
#if TSS_N_CONTROLS > 0
#endif
// TSS version information
#endif
Not sure if I should put a ';' after each function or what should be done. This is code that I received from TSS application.
I have attached the file.
Original Attachment has been moved to: TSS_Freemaster.c.zip