added CAN-Debug-Message

This commit is contained in:
2023-09-25 07:21:33 +02:00
parent ce9f1a2306
commit c42de4b24c
5 changed files with 86 additions and 21 deletions

View File

@@ -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

View File

@@ -7,6 +7,7 @@
#include "common.h"
#include "globals.h"
#include "dtc.h"
#include "debugger.h"
void RunLubeApp(uint32_t add_milimeters);
void LubePulse();

View File

@@ -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