auto-sync

This commit is contained in:
rusEfi 2016-07-25 23:03:45 -04:00
parent f1207fa292
commit 46b4cb9855
3 changed files with 8 additions and 7 deletions

View File

@ -107,6 +107,8 @@
#define EFI_HIP_9011 TRUE
#define EFI_CJ125 TRUE
#define EFI_INTERNAL_ADC TRUE
#define EFI_DENSO_ADC FALSE

View File

@ -371,7 +371,9 @@ void initHardware(Logging *l) {
calcFastAdcIndexes();
engine->addConfigurationListener(adcConfigListener);
#if EFI_CJ125 || defined(__DOXYGEN__)
initCJ125();
#endif
printMsg(sharedLogger, "initHardware() OK!");
}

View File

@ -15,6 +15,8 @@
#include "pin_repository.h"
#include "hardware.h"
#if EFI_CJ125 || defined(__DOXYGEN__)
EXTERN_ENGINE;
static SimplePwm wboHeaderControl;
@ -64,11 +66,7 @@ SPI_CR1_MSTR |
static cj125_state_e state = CJ125_IDLE;
#if defined __GNUC__
__attribute__((noreturn)) static msg_t cjThread(void)
#else
static msg_t cjThread(void)
#endif
static msg_t cjThread(void)
{
chRegSetThreadName("cj125");
@ -111,5 +109,4 @@ void initCJ125(void) {
}
#endif /* EFI_CJ125 */