More than one aux pid #866
renaming this class since we will probably have two different implementations for two different cases
This commit is contained in:
parent
788e69aadc
commit
34acd20833
|
@ -57,7 +57,7 @@
|
||||||
#include "lcd_controller.h"
|
#include "lcd_controller.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "can_hw.h"
|
#include "can_hw.h"
|
||||||
#include "periodic_controller.h"
|
#include "periodic_thread_controller.h"
|
||||||
#include "cdm_ion_sense.h"
|
#include "cdm_ion_sense.h"
|
||||||
|
|
||||||
extern afr_Map3D_t afrMap;
|
extern afr_Map3D_t afrMap;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#include "voltage.h"
|
#include "voltage.h"
|
||||||
#include "pid.h"
|
#include "pid.h"
|
||||||
#include "local_version_holder.h"
|
#include "local_version_holder.h"
|
||||||
#include "periodic_controller.h"
|
#include "periodic_thread_controller.h"
|
||||||
|
|
||||||
#include "pwm_generator.h"
|
#include "pwm_generator.h"
|
||||||
#include "pin_repository.h"
|
#include "pin_repository.h"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include "fsio_impl.h"
|
#include "fsio_impl.h"
|
||||||
#include "engine_math.h"
|
#include "engine_math.h"
|
||||||
#include "pin_repository.h"
|
#include "pin_repository.h"
|
||||||
#include "periodic_controller.h"
|
#include "periodic_thread_controller.h"
|
||||||
|
|
||||||
#if defined(HAS_OS_ACCESS)
|
#if defined(HAS_OS_ACCESS)
|
||||||
#error "Unexpected OS ACCESS HERE"
|
#error "Unexpected OS ACCESS HERE"
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
#include "pwm_generator_logic.h"
|
#include "pwm_generator_logic.h"
|
||||||
#include "pid.h"
|
#include "pid.h"
|
||||||
#include "engine_controller.h"
|
#include "engine_controller.h"
|
||||||
#include "periodic_controller.h"
|
#include "periodic_thread_controller.h"
|
||||||
#include "pin_repository.h"
|
#include "pin_repository.h"
|
||||||
#include "pwm_generator.h"
|
#include "pwm_generator.h"
|
||||||
#include "dc_motor.h"
|
#include "dc_motor.h"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "idle_thread.h"
|
#include "idle_thread.h"
|
||||||
#include "pin_repository.h"
|
#include "pin_repository.h"
|
||||||
#include "engine.h"
|
#include "engine.h"
|
||||||
#include "periodic_controller.h"
|
#include "periodic_thread_controller.h"
|
||||||
#include "stepper.h"
|
#include "stepper.h"
|
||||||
#include "allsensors.h"
|
#include "allsensors.h"
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#include "malfunction_central.h"
|
#include "malfunction_central.h"
|
||||||
#include "malfunction_indicator.h"
|
#include "malfunction_indicator.h"
|
||||||
#include "efi_gpio.h"
|
#include "efi_gpio.h"
|
||||||
#include "periodic_controller.h"
|
#include "periodic_thread_controller.h"
|
||||||
|
|
||||||
#define TEST_MIL_CODE FALSE
|
#define TEST_MIL_CODE FALSE
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include "efi_gpio.h"
|
#include "efi_gpio.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "idle_thread.h"
|
#include "idle_thread.h"
|
||||||
#include "periodic_controller.h"
|
#include "periodic_thread_controller.h"
|
||||||
#include "tps.h"
|
#include "tps.h"
|
||||||
#if EFI_PROD_CODE
|
#if EFI_PROD_CODE
|
||||||
#include "rusefi.h"
|
#include "rusefi.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* @file periodic_controller.h
|
* @file periodic_thread_controller.h
|
||||||
*
|
*
|
||||||
* @date Jan 5, 2019
|
* @date Jan 5, 2019
|
||||||
* @author Matthew Kennedy, (c) 2019
|
* @author Matthew Kennedy, (c) 2019
|
||||||
|
@ -18,7 +18,8 @@
|
||||||
* inherit this class, and perform your period update in PeriodicTask. Any one-time
|
* inherit this class, and perform your period update in PeriodicTask. Any one-time
|
||||||
* setup work can be performed in OnStarted().
|
* setup work can be performed in OnStarted().
|
||||||
*
|
*
|
||||||
* This class effectively implements this funtionality:
|
* Each instance has one underlying thread meaning that task could be blocking/synchronous.
|
||||||
|
* This class effectively implements this functionality:
|
||||||
*
|
*
|
||||||
* void thread()
|
* void thread()
|
||||||
* {
|
* {
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#if EFI_PROD_CODE && HAL_USE_GPT
|
#if EFI_PROD_CODE && HAL_USE_GPT
|
||||||
|
|
||||||
#include "periodic_controller.h"
|
#include "periodic_thread_controller.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum duration of complete timer callback, all pending events together
|
* Maximum duration of complete timer callback, all pending events together
|
||||||
|
|
|
@ -24,7 +24,7 @@ EXTERN_ENGINE;
|
||||||
#if EFI_MEMS
|
#if EFI_MEMS
|
||||||
#include "mpu_util.h"
|
#include "mpu_util.h"
|
||||||
#include "lis302dl.h"
|
#include "lis302dl.h"
|
||||||
#include "periodic_controller.h"
|
#include "periodic_thread_controller.h"
|
||||||
|
|
||||||
static SPIDriver *driver;
|
static SPIDriver *driver;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue