Fixed compiling without can

This commit is contained in:
CommanderRedYT
2021-11-24 16:43:17 +01:00
parent 52564a74ff
commit 6a529e5dca
2 changed files with 4 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
#include "can.h" #include "can.h"
#ifdef FEATURE_CAN
// system includes // system includes
#include <cstring> #include <cstring>
@@ -453,3 +454,4 @@ void sendCanCommands()
} }
} // namespace can } // namespace can
#endif

View File

@@ -1,4 +1,5 @@
#pragma once #pragma once
#ifdef FEATURE_CAN
// system includes // system includes
#include <optional> #include <optional>
@@ -35,3 +36,4 @@ bool tryParseCanInput();
void parseCanInput(); void parseCanInput();
void sendCanCommands(); void sendCanCommands();
} // namespace can } // namespace can
#endif