fixed more compiler errors
parent
7e362ec6ff
commit
b5c38dc5b9
|
|
@ -81,7 +81,7 @@ static bool NeoMessageToSpyMessage(const neodevice_t* device, const neomessage_t
|
||||||
copyStatusData();
|
copyStatusData();
|
||||||
};
|
};
|
||||||
|
|
||||||
switch (Network::Type(frame.type))
|
switch (frame.type)
|
||||||
{
|
{
|
||||||
case icsneo_msg_bus_type_can:
|
case icsneo_msg_bus_type_can:
|
||||||
case icsneo_msg_bus_type_swcan:
|
case icsneo_msg_bus_type_swcan:
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,12 @@
|
||||||
#define ICSNEO_DEVICETYPE_LONGEST_NAME (35 + 1) // Add 1 so that if someone forgets, they still have space for null terminator
|
#define ICSNEO_DEVICETYPE_LONGEST_NAME (35 + 1) // Add 1 so that if someone forgets, they still have space for null terminator
|
||||||
#define ICSNEO_DEVICETYPE_LONGEST_DESCRIPTION (ICSNEO_DEVICETYPE_LONGEST_NAME + 7) // 6 character serial, plus space
|
#define ICSNEO_DEVICETYPE_LONGEST_DESCRIPTION (ICSNEO_DEVICETYPE_LONGEST_NAME + 7) // 6 character serial, plus space
|
||||||
|
|
||||||
|
|
||||||
|
#include <icsneo/icsneotypes.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <icsneo/icsneotypes.h>
|
|
||||||
|
|
||||||
|
|
||||||
namespace icsneo {
|
namespace icsneo {
|
||||||
|
|
@ -147,3 +150,5 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
}; // namespace icsneo
|
}; // namespace icsneo
|
||||||
|
|
||||||
|
#endif // __cplusplus
|
||||||
Loading…
Reference in New Issue