auto-sync

This commit is contained in:
rusEfi 2015-01-03 18:03:43 -06:00
parent 46b3571103
commit cc289c818d
4 changed files with 28 additions and 0 deletions

View File

@ -177,7 +177,9 @@ typedef struct {
adc_channel_mode_e adcHwChannelEnabled[HW_MAX_ADC_INDEX];
// offset 5760
brain_pin_e triggerInputPins[3];
// offset 5772
brain_pin_e mainRelayPin;
int idleThreadPeriod;

View File

@ -24,6 +24,7 @@ HW_LAYER_EMS_CPP = $(PROJECT_DIR)/hw_layer/hardware.cpp \
$(PROJECT_DIR)/hw_layer/max31855.cpp \
$(PROJECT_DIR)/hw_layer/joystick.cpp \
$(PROJECT_DIR)/hw_layer/stepper.cpp \
$(PROJECT_DIR)/hw_layer/servo.cpp \
$(PROJECT_DIR)/hw_layer/stm32f4/mpu_util.cpp
HW_LAYER_EGT_CPP = $(PROJECT_DIR)/hw_layer/can_hw.cpp \

View File

@ -0,0 +1,12 @@
/**
* @file servo.cpp
*
* http://rusefi.com/wiki/index.php?title=Hardware:Servo_motor
*
* @date Jan 3, 2015
* @author Andrey Belomutskiy, (c) 2012-2014
*/
#include "servo.h"
#include "pin_repository.h"

13
firmware/hw_layer/servo.h Normal file
View File

@ -0,0 +1,13 @@
/**
* @file servo.h
*
* @date Jan 3, 2015
* @author Andrey Belomutskiy, (c) 2012-2014
*/
#ifndef HW_LAYER_SERVO_H_
#define HW_LAYER_SERVO_H_
#include "main.h"
#endif /* HW_LAYER_SERVO_H_ */