Start -> start (#4366)

This commit is contained in:
Matthew Kennedy 2022-07-21 12:17:32 -07:00 committed by GitHub
parent 20639767f3
commit b99d90b006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 30 additions and 30 deletions

View File

@ -102,7 +102,7 @@ struct CanTsThread : public TunerstudioThread {
static CanTsThread canTsThread;
void startCanConsole() {
canTsThread.Start();
canTsThread.start();
canStreamInit();
}

View File

@ -93,12 +93,12 @@ void startSerialChannels() {
#if HAS_PRIMARY
// todo: invert setting one day?
if (!engineConfiguration->disablePrimaryUart) {
primaryChannelThread.Start();
primaryChannelThread.start();
}
#endif
#if HAS_SECONDARY
secondaryChannelThread.Start();
secondaryChannelThread.start();
#endif
}

View File

@ -98,7 +98,7 @@ void startEthernetConsole() {
efiSetPadMode("ethernet", Gpio::G14, PAL_MODE_ALTERNATE(0xb));
#endif // STM32H7
ethernetConsole.Start();
ethernetConsole.start();
}
#endif // EFI_ETHERNET

View File

@ -934,10 +934,10 @@ void startStatusThreads(void) {
// todo: refactoring needed, this file should probably be split into pieces
#if EFI_PROD_CODE
initStatusLeds();
communicationsBlinkingTask.Start();
communicationsBlinkingTask.start();
#endif /* EFI_PROD_CODE */
#if EFI_LCD
lcdInstance.Start();
lcdInstance.start();
#endif /* EFI_LCD */
}

View File

@ -51,7 +51,7 @@ struct UsbThread : public TunerstudioThread {
static UsbThread usbConsole;
void startUsbConsole() {
usbConsole.Start();
usbConsole.start();
}
#endif // EFI_USB_SERIAL

View File

@ -1008,7 +1008,7 @@ void doInitElectronicThrottle() {
#endif /* EFI_UNIT_TEST */
#if !EFI_UNIT_TEST
etbThread.Start();
etbThread.start();
#endif
}

View File

@ -156,7 +156,7 @@ void initAuxPid() {
startVvtControlPins();
for (int i = 0;i < CAM_INPUTS_COUNT;i++) {
instances[i].Start();
instances[i].start();
}
}

View File

@ -574,7 +574,7 @@ void initBenchTest() {
addConsoleActionFFFFF("luabench2", luaOutBench2);
instance.setPeriod(200 /*ms*/);
instance.Start();
instance.start();
onConfigurationChangeBenchTest();
}

View File

@ -237,8 +237,8 @@ static void doPeriodicSlowCallback() {
}
void initPeriodicEvents() {
slowController.Start();
fastController.Start();
slowController.start();
fastController.start();
}
char * getPinNameByAdcChannel(const char *msg, adc_channel_e hwChannel, char *buffer) {
@ -697,7 +697,7 @@ void initEngineContoller() {
return;
}
engineStateBlinkingTask.Start();
engineStateBlinkingTask.start();
initVrPwm();

View File

@ -122,7 +122,7 @@ void initMalfunctionIndicator(void) {
return;
}
instance.setPeriod(10 /*ms*/);
instance.Start();
instance.start();
#if TEST_MIL_CODE
addConsoleAction("testmil", testMil);

View File

@ -352,7 +352,7 @@ void startLua() {
initLuaCanRx();
#endif // EFI_CAN_SUPPORT
luaThread.Start();
luaThread.start();
addConsoleActionS("lua", [](const char* str){
if (interactivePending) {

View File

@ -150,7 +150,7 @@ void initSoftwareKnock() {
#if KNOCK_HAS_CH2
efiSetPadMode("knock ch2", KNOCK_PIN_CH2, PAL_MODE_INPUT_ANALOG);
#endif
kt.Start();
kt.start();
}
}

View File

@ -35,7 +35,7 @@ public:
/**
* This invokes PeriodicTask() immediately and starts the cycle of invocations and sleeps
*/
virtual void Start() {
virtual void start() {
#if !EFI_UNIT_TEST
chVTObjectInit(&timer);
#endif // EFI_UNIT_TEST

View File

@ -55,7 +55,7 @@ public:
/**
* @brief Start the thread.
*/
void Start()
void start()
{
if (m_isStarted) {
warning(CUSTOM_OBD_6003, "Tried to start thread %s but it was already running", m_name);

View File

@ -460,7 +460,7 @@ void initAdcInputs() {
portInitAdc();
// Start the slow ADC thread
slowAdcController.Start();
slowAdcController.start();
#if EFI_USE_FAST_ADC
fastAdc.init();

View File

@ -139,11 +139,11 @@ public:
{
}
void Start(CANDriver* device) {
void start(CANDriver* device) {
m_device = device;
if (device) {
ThreadController::Start();
ThreadController::start();
}
}
@ -318,12 +318,12 @@ void initCan() {
// fire up threads, as necessary
if (engineConfiguration->canWriteEnabled) {
canWrite.Start();
canWrite.start();
}
if (engineConfiguration->canReadEnabled) {
canRead1.Start(device1);
canRead2.Start(device2);
canRead1.start(device1);
canRead2.start(device2);
}
isCanEnabled = true;

View File

@ -85,7 +85,7 @@ void initAuxSerial(void) {
startAuxSerialPins();
if (isSerialRXEnabled)
serialRead.Start();
serialRead.start();
}
#endif // EFI_AUX_SERIAL

View File

@ -117,7 +117,7 @@ void initUsbMsd() {
msd.attachLun(1, (BaseBlockDevice*)&ND1, blkbuf1, &sdCardInquiry, nullptr);
// start the mass storage thread
msd.Start();
msd.start();
}
#endif // HAL_USE_USB_MSD

View File

@ -177,7 +177,7 @@ void initMicrosecondTimer() {
watchDogBuddyCallback(NULL);
#if EFI_EMULATE_POSITION_SENSORS
watchdogControllerInstance.Start();
watchdogControllerInstance.start();
#endif /* EFI_EMULATE_POSITION_SENSORS */
}

View File

@ -209,7 +209,7 @@ bool StepDirectionStepper::step(bool positive) {
void StepperMotor::initialize(StepperHw *hardware, int totalSteps) {
StepperMotorBase::initialize(hardware, totalSteps);
Start();
start();
}
void StepDirectionStepper::initialize(brain_pin_e stepPin, brain_pin_e directionPin, pin_output_mode_e directionPinMode, float reactionTime, brain_pin_e enablePin, pin_output_mode_e enablePinMode) {

View File

@ -160,7 +160,7 @@ void startLoggingProcessor() {
}
// Start processing used buffers
lbf.Start();
lbf.start();
}
#endif // EFI_PROD_CODE

View File

@ -177,7 +177,7 @@ void initMicrosecondTimer() {
watchDogBuddyCallback(NULL);
#if EFI_EMULATE_POSITION_SENSORS
watchdogControllerInstance.Start();
watchdogControllerInstance.start();
#endif /* EFI_EMULATE_POSITION_SENSORS */
}