Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/can_common.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#ifndef _CAN_COMMON_
#define _CAN_COMMON_

#ifndef UNIT_TEST
#include <Arduino.h>
#else
#include <stdint.h>
#include <cstring>
typedef bool boolean;
#endif

/** Define the typical baudrate for CAN communication. */
#ifdef CAN_BPS_500K
Expand Down