added CAN-Debug-Message
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "common.h"
|
||||
#include "globals.h"
|
||||
#include "dtc.h"
|
||||
#include "debugger.h"
|
||||
|
||||
struct can_frame
|
||||
{
|
||||
@@ -16,6 +17,7 @@ struct can_frame
|
||||
};
|
||||
|
||||
void Init_CAN();
|
||||
void CAN_Process();
|
||||
uint32_t Process_CAN_WheelSpeed();
|
||||
|
||||
#endif
|
@@ -7,6 +7,7 @@
|
||||
#include "common.h"
|
||||
#include "globals.h"
|
||||
#include "dtc.h"
|
||||
#include "debugger.h"
|
||||
|
||||
void RunLubeApp(uint32_t add_milimeters);
|
||||
void LubePulse();
|
||||
|
@@ -16,6 +16,12 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CAN_DEBUG_MESSAGE
|
||||
#ifndef FEATURE_ENABLE_CAN
|
||||
#error "You cannot enable CAN-Debug-Message without FEATURE_ENABLE_CAN"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef ADMIN_PASSWORD
|
||||
#error "You need to define ADMIN_PASSWORD for OTA-Update"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user