Resolve some compile errors and warnings that can arise under Linux

This commit is contained in:
Paul Hollinsky
2018-09-20 14:26:59 -04:00
parent fb4a327891
commit 8435efb039
3 changed files with 7 additions and 0 deletions
@@ -2,6 +2,7 @@
#define __NEOMESSAGE_H_
#include <stdint.h>
#include <stddef.h>
typedef struct {
uint16_t netid;
+3
View File
@@ -18,6 +18,9 @@ neomessage_t icsneo::CreateNeoMessage(const Message& message) {
case Network::Type::CAN:
((neomessage_can_t*)&neomsg)->arbid = ((const CANMessage*)&message)->arbid;
break;
default:
// TODO Implement others
break;
}
return neomsg;