console vs ts cleanup and compilation fix for linux (#728)

* console vs ts cleanup

* include is case-sensetive in linux
This commit is contained in:
dron0gus 2019-04-02 00:04:49 +03:00 committed by rusefi
parent aaf6fcdf6a
commit bc0eaf52d8
9 changed files with 13 additions and 13 deletions

View File

@ -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 */
}

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -6,7 +6,7 @@
*/
#include "global.h"
#include "HIP9011_logic.h"
#include "hip9011_logic.h"
EXTERN_ENGINE;

View File

@ -7,7 +7,7 @@
*/
#include "engine.h"
#include "CJ125.h"
#include "cj125.h"
#include "pwm_generator.h"
#include "rpm_calculator.h"

View File

@ -8,7 +8,7 @@
#ifndef HW_LAYER_SENSORS_CJ125_H_
#define HW_LAYER_SENSORS_CJ125_H_
#include "CJ125_logic.h"
#include "cj125_logic.h"
/**********************************************************************************

View File

@ -5,7 +5,7 @@
* @author Andrey Belomutskiy, (c) 2012-2019
*/
#include "CJ125_logic.h"
#include "cj125_logic.h"
#include "engine.h"
EXTERN_ENGINE;

View File

@ -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 :)
*