Improvement in STSW-ST25RFAL 4.0 source
Hi
I Reported this for Improvement in STSW-ST25RFAL 3.0 source before.
Now STSW-ST25RFAL 4.0 is available but the following problems are not changed.
1) Add to rfal_analogConfig.h, rfal_crc.h, rfal_iso15693_2.h header files.
#if defined( __cplusplus )
extern "C" {
#endif
otherwise this file makes it difficult with C++
2) Add to rfal_analogConfig.h header files.
#if !defined( __cplusplus )
typedef struct {
uint8_t id[sizeof(rfalAnalogConfigId)];
rfalAnalogConfigNum num;
rfalAnalogConfigRegAddrMaskVal regSet[];
} rfalAnalogConfig;
#else
struct rfalAnalogConfig;
#endif
C++ can't handle an empty array regSet[] in a struct
