Merge branch 'master' of https://github.com/rusefi/rusefi
This commit is contained in:
commit
99bff37869
|
@ -65,7 +65,7 @@ static bool getConsoleLine(BaseSequentialStream *chp, char *line, unsigned size)
|
|||
|
||||
while (true) {
|
||||
if (!isCommandLineConsoleReady()) {
|
||||
// we better do not read from USB serial before it is ready
|
||||
// we better do not read from serial before it is ready
|
||||
chThdSleepMilliseconds(10);
|
||||
continue;
|
||||
}
|
||||
|
@ -168,7 +168,7 @@ bool isCommandLineConsoleReady(void) {
|
|||
ts_channel_s binaryConsole;
|
||||
|
||||
static THD_WORKING_AREA(consoleThreadStack, 3 * UTILITY_THREAD_STACK_SIZE);
|
||||
static THD_FUNCTION(consoleThreadThreadEntryPoint, arg) {
|
||||
static THD_FUNCTION(consoleThreadEntryPoint, arg) {
|
||||
(void) arg;
|
||||
chRegSetThreadName("console thread");
|
||||
|
||||
|
@ -222,7 +222,7 @@ void startConsole(Logging *sharedLogger, CommandHandler console_line_callback_p)
|
|||
#endif /* EFI_PROD_CODE */
|
||||
|
||||
#if !defined(EFI_CONSOLE_NO_THREAD) || defined(__DOXYGEN__)
|
||||
chThdCreateStatic(consoleThreadStack, sizeof(consoleThreadStack), NORMALPRIO, (tfunc_t)consoleThreadThreadEntryPoint, NULL);
|
||||
chThdCreateStatic(consoleThreadStack, sizeof(consoleThreadStack), NORMALPRIO, (tfunc_t)consoleThreadEntryPoint, NULL);
|
||||
#endif /* EFI_CONSOLE_NO_THREAD */
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "global.h"
|
||||
#include "status_loop.h"
|
||||
#include "HIP9011_logic.h"
|
||||
#include "hip9011_logic.h"
|
||||
#include "engine_controller.h"
|
||||
|
||||
#include "adc_inputs.h"
|
||||
|
@ -76,7 +76,7 @@ extern bool main_loop_started;
|
|||
#endif /* EFI_PROD_CODE */
|
||||
|
||||
#if EFI_CJ125 || defined(__DOXYGEN__)
|
||||
#include "CJ125.h"
|
||||
#include "cj125.h"
|
||||
#endif /* EFI_CJ125 */
|
||||
|
||||
#if EFI_MAP_AVERAGING
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "electronic_throttle.h"
|
||||
#include "board_test.h"
|
||||
#include "mcp3208.h"
|
||||
#include "HIP9011.h"
|
||||
#include "hip9011.h"
|
||||
#include "histogram.h"
|
||||
#include "mmc_card.h"
|
||||
#include "neo6m.h"
|
||||
|
|
|
@ -38,9 +38,9 @@
|
|||
#include "hardware.h"
|
||||
#include "rpm_calculator.h"
|
||||
#include "trigger_central.h"
|
||||
#include "HIP9011_logic.h"
|
||||
#include "hip9011_logic.h"
|
||||
#include "hip9011_lookup.h"
|
||||
#include "HIP9011.h"
|
||||
#include "hip9011.h"
|
||||
#include "adc_inputs.h"
|
||||
|
||||
#include "engine_controller.h"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
#include "global.h"
|
||||
#include "HIP9011_logic.h"
|
||||
#include "hip9011_logic.h"
|
||||
|
||||
EXTERN_ENGINE;
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
#include "engine.h"
|
||||
#include "CJ125.h"
|
||||
#include "cj125.h"
|
||||
#include "pwm_generator.h"
|
||||
#include "rpm_calculator.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#ifndef HW_LAYER_SENSORS_CJ125_H_
|
||||
#define HW_LAYER_SENSORS_CJ125_H_
|
||||
|
||||
#include "CJ125_logic.h"
|
||||
#include "cj125_logic.h"
|
||||
|
||||
|
||||
/**********************************************************************************
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* @author Andrey Belomutskiy, (c) 2012-2019
|
||||
*/
|
||||
|
||||
#include "CJ125_logic.h"
|
||||
#include "cj125_logic.h"
|
||||
#include "engine.h"
|
||||
|
||||
EXTERN_ENGINE;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* Here we have a data structure which holds all the dynamically-registered
|
||||
* command line interface action names & callback. This logic is invoked in
|
||||
* user context by the console thread - see consoleThreadThreadEntryPoint
|
||||
* user context by the console thread - see consoleThreadEntryPoint
|
||||
*
|
||||
* TODO: there is too much copy-paste here, this class needs some refactoring :)
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue