misc tidy (#4926)
* FrequencySensor: code-style * smart_gpio: fix indent, tidy BOARD_EXT_GPIOCHIPS tidy _GPIOCHIPS for #pragma message(STRING(BOARD_EXT_GPIOCHIPS output * obd_error_codes: fix indent
This commit is contained in:
parent
31982de89c
commit
96b2195497
|
@ -391,7 +391,7 @@ typedef enum {
|
|||
//P0338 Crankshaft Position Sensor A Circuit High Input
|
||||
//P0339 Crankshaft Position Sensor A Circuit Intermittent
|
||||
//P0340 Camshaft Position Sensor Circuit Malfunction
|
||||
OBD_Camshaft_Position_Sensor_Circuit_Range_Performance = 341,
|
||||
OBD_Camshaft_Position_Sensor_Circuit_Range_Performance = 341,
|
||||
//P0342 Camshaft Position Sensor Circuit Low Input
|
||||
//P0343 Camshaft Position Sensor Circuit High Input
|
||||
//P0344 Camshaft Position Sensor Circuit Intermittent
|
||||
|
@ -2123,7 +2123,7 @@ typedef enum {
|
|||
CUSTOM_ERR_6728 = 6728,
|
||||
CUSTOM_ARTIFICIAL_MISFIRE = 6729,
|
||||
|
||||
CUSTOM_INSTANT_MAP_DECODING = 6899,
|
||||
CUSTOM_INSTANT_MAP_DECODING = 6899,
|
||||
STACK_USAGE_COMMUNICATION = 6900,
|
||||
STACK_USAGE_MIL = 6901,
|
||||
STACK_USAGE_BENCH = 6902,
|
||||
|
@ -2133,7 +2133,7 @@ typedef enum {
|
|||
// 8000-8050 logging errors
|
||||
CUSTOM_OBD_MMC_ERROR = 8000,
|
||||
|
||||
CUSTOM_ERR_CAN_COMMUNICATION = 8900,
|
||||
CUSTOM_ERR_CAN_COMMUNICATION = 8900,
|
||||
|
||||
WATCH_DOG_SECONDS = 8901,
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ public:
|
|||
// sad workaround: we are not good at BiQuad configuring
|
||||
bool useBiQuad = true;
|
||||
|
||||
void showInfo(const char* sensorName) const override;
|
||||
void showInfo(const char* sensorName) const override;
|
||||
|
||||
void onEdge(efitick_t nowNt);
|
||||
|
||||
|
|
|
@ -8,24 +8,25 @@
|
|||
#pragma once
|
||||
|
||||
#if EFI_PROD_CODE
|
||||
#include "drivers/gpio/mc33810.h"
|
||||
#include "drivers/gpio/tle6240.h"
|
||||
#include "drivers/gpio/mc33972.h"
|
||||
#include "drivers/gpio/tle8888.h"
|
||||
#include "drivers/gpio/drv8860.h"
|
||||
// we seem OK without L9779 here do we need those includes at all?
|
||||
#include "drivers/gpio/mc33810.h"
|
||||
#include "drivers/gpio/tle6240.h"
|
||||
#include "drivers/gpio/mc33972.h"
|
||||
#include "drivers/gpio/tle8888.h"
|
||||
#include "drivers/gpio/drv8860.h"
|
||||
// we seem OK without L9779 here do we need those includes at all?
|
||||
#endif /* EFI_PROD_CODE */
|
||||
|
||||
#if EFI_UNIT_TEST
|
||||
#define BOARD_EXT_GPIOCHIPS 3
|
||||
#define BOARD_EXT_GPIOCHIPS 3
|
||||
#else
|
||||
#define BOARD_EXT_GPIOCHIPS ( \
|
||||
BOARD_TLE6240_COUNT + \
|
||||
BOARD_MC33972_COUNT + \
|
||||
BOARD_TLE8888_COUNT + \
|
||||
BOARD_DRV8860_COUNT + \
|
||||
BOARD_MC33810_COUNT + \
|
||||
BOARD_L9779_COUNT)
|
||||
#define BOARD_EXT_GPIOCHIPS (\
|
||||
BOARD_TLE6240_COUNT + \
|
||||
BOARD_MC33972_COUNT + \
|
||||
BOARD_TLE8888_COUNT + \
|
||||
BOARD_DRV8860_COUNT + \
|
||||
BOARD_MC33810_COUNT + \
|
||||
BOARD_L9779_COUNT + \
|
||||
0)
|
||||
#endif
|
||||
|
||||
void initSmartGpio(void);
|
||||
|
@ -33,4 +34,3 @@ void startSmartCsPins(void);
|
|||
void stopSmartCsPins(void);
|
||||
|
||||
void tle8888startup(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue