mirror of https://github.com/FOME-Tech/fome-fw.git
move tachometer to modules dir
This commit is contained in:
parent
3b2a136a75
commit
c3e1435f39
|
@ -22,7 +22,6 @@
|
|||
#include "idle_thread.h"
|
||||
#include "idle_hardware.h"
|
||||
#include "gppwm.h"
|
||||
#include "tachometer.h"
|
||||
#include "speedometer.h"
|
||||
#include "dynoview.h"
|
||||
#include "boost_control.h"
|
||||
|
|
|
@ -22,7 +22,6 @@ CONTROLLERS_SRC_CPP = \
|
|||
$(CONTROLLERS_DIR)/actuators/vvt.cpp \
|
||||
$(CONTROLLERS_DIR)/actuators/gppwm/gppwm_channel.cpp \
|
||||
$(CONTROLLERS_DIR)/actuators/gppwm/gppwm.cpp \
|
||||
$(CONTROLLERS_DIR)/gauges/tachometer.cpp \
|
||||
$(CONTROLLERS_DIR)/gauges/speedometer.cpp \
|
||||
$(CONTROLLERS_DIR)/gauges/malfunction_indicator.cpp \
|
||||
$(CONTROLLERS_DIR)/system/timer/single_timer_executor.cpp \
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
#include "vvt.h"
|
||||
#include "boost_control.h"
|
||||
#include "launch_control.h"
|
||||
#include "tachometer.h"
|
||||
#include "speedometer.h"
|
||||
#include "gppwm.h"
|
||||
#include "date_stamp.h"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
include $(PROJECT_DIR)/controllers/modules/fan/fan.mk
|
||||
include $(PROJECT_DIR)/controllers/modules/fuel_pump/fuel_pump.mk
|
||||
include $(PROJECT_DIR)/controllers/modules/gear_detector/gear_detector.mk
|
||||
include $(PROJECT_DIR)/controllers/modules/tachometer/tachometer.mk
|
||||
include $(PROJECT_DIR)/controllers/modules/trip_odometer/trip_odometer.mk
|
||||
|
||||
ifeq ($(NO_MAP_AVERAGING),)
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
|
||||
#include "pch.h"
|
||||
|
||||
#include "tachometer.h"
|
||||
|
||||
static SimplePwm tachControl("tach");
|
||||
static float tachFreq;
|
||||
static float duty;
|
|
@ -9,3 +9,6 @@
|
|||
|
||||
void initTachometer();
|
||||
void tachUpdate();
|
||||
|
||||
// TODO
|
||||
struct TachometerModule : public EngineModule { };
|
|
@ -0,0 +1,6 @@
|
|||
MODULES_INC += $(PROJECT_DIR)/controllers/modules/tachometer
|
||||
MODULES_CPPSRC += $(PROJECT_DIR)/controllers/modules/tachometer/tachometer.cpp
|
||||
MODULES_INCLUDE += \#include "tachometer.h"\n
|
||||
MODULES_LIST += TachometerModule,
|
||||
|
||||
DDEFS += -DMODULE_TACHOMETER
|
Loading…
Reference in New Issue