mirror of https://github.com/rusefi/rusefi-1.git
This commit is contained in:
parent
1e580eb55e
commit
cad09b732f
|
@ -160,7 +160,9 @@ typedef struct {
|
||||||
* @see injectorDutyCycle
|
* @see injectorDutyCycle
|
||||||
*/
|
*/
|
||||||
float coilDutyCycle; // 272
|
float coilDutyCycle; // 272
|
||||||
int unused3[20];
|
int16_t accelerationX; // 276
|
||||||
|
int16_t accelerationY; // 278
|
||||||
|
int unused3[19];
|
||||||
} TunerStudioOutputChannels;
|
} TunerStudioOutputChannels;
|
||||||
|
|
||||||
#endif /* TUNERSTUDIO_CONFIGURATION_H_ */
|
#endif /* TUNERSTUDIO_CONFIGURATION_H_ */
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
void configureAccelerometerPins(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
void configureAccelerometerPins(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
void initAccelerometer(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
void initAccelerometer(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
void accelerometerPeriodicCallback(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||||
/**
|
/**
|
||||||
* Acceleration/braking
|
* Acceleration/braking
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -91,6 +91,9 @@ void initSpiModule(SPIDriver *driver, brain_pin_e sck, brain_pin_e miso,
|
||||||
int sckMode,
|
int sckMode,
|
||||||
int mosiMode,
|
int mosiMode,
|
||||||
int misoMode);
|
int misoMode);
|
||||||
|
/**
|
||||||
|
* @see getSpiDevice
|
||||||
|
*/
|
||||||
void initSpiCs(SPIConfig *spiConfig, brain_pin_e csPin);
|
void initSpiCs(SPIConfig *spiConfig, brain_pin_e csPin);
|
||||||
|
|
||||||
bool isValidCanTxPin(brain_pin_e pin);
|
bool isValidCanTxPin(brain_pin_e pin);
|
||||||
|
|
Loading…
Reference in New Issue