sanity-check now functional

This commit is contained in:
Marcel Peterkau 2022-08-22 09:23:01 +02:00
parent 080742c88c
commit 808709f5c2
2 changed files with 9 additions and 0 deletions

View File

@ -11,6 +11,8 @@
#include "common.h"
#include "sanitycheck.h"
#include "lubeapp.h"
#include "webui.h"
#include "config.h"

View File

@ -7,6 +7,13 @@
#if PCB_REV < 1 || PCB_REV > 4
#error "Unsupported PCB-Revision"
#endif
#if PCB_REV < 4 && defined(FEATURE_ENABLE_CAN)
#error "CAN-Feature unsupported with this PCB-Rev"
#endif
#if PCB_REV < 4 && defined(DFEATURE_ENABLE_GPS)
#error "CAN-Feature unsupported with this PCB-Rev"
#endif
#endif
#ifndef ADMIN_PASSWORD