2015-07-10 06:01:56 -07:00
|
|
|
/*
|
2020-05-25 10:02:05 -07:00
|
|
|
* @file tunerstudio_outputs.h
|
2015-07-10 06:01:56 -07:00
|
|
|
* @brief Tuner Studio connectivity configuration
|
|
|
|
*
|
|
|
|
* In this file the configuration of TunerStudio is defined
|
|
|
|
*
|
|
|
|
* @date Oct 22, 2013
|
2020-01-13 18:57:43 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
2020-02-24 13:47:10 -08:00
|
|
|
#pragma once
|
2015-07-10 06:01:56 -07:00
|
|
|
|
|
|
|
#include "rusefi_types.h"
|
2020-02-24 13:47:10 -08:00
|
|
|
#include "scaled_channel.h"
|
2021-11-17 21:19:11 -08:00
|
|
|
#include "ts_outputs_generated.h"
|
2019-12-22 05:12:45 -08:00
|
|
|
|
2021-12-07 18:08:25 -08:00
|
|
|
#ifndef WITH_TS_STATE
|
|
|
|
// do we ever see a case of compiling without TSOutputChannels? Shall we wipe out all '#if EFI_TUNER_STUDIO' or replace with '#if WITH_TS_STATE'
|
|
|
|
#define WITH_TS_STATE TRUE
|
|
|
|
#endif
|
|
|
|
|
2015-07-10 06:01:56 -07:00
|
|
|
/**
|
2021-11-17 20:22:08 -08:00
|
|
|
* todo https://github.com/rusefi/rusefi/issues/197
|
2021-11-26 18:21:46 -08:00
|
|
|
* three locations have to be changed manually
|
|
|
|
* 1) we inherit from generated ts_outputs_s based on output_channels.txt
|
2019-12-19 19:40:27 -08:00
|
|
|
* 2) '[OutputChannels]' block in rusefi.input
|
2021-11-17 20:22:08 -08:00
|
|
|
* 3) com.rusefi.core.Sensor enum in rusEFI console source code
|
2021-11-26 22:13:01 -08:00
|
|
|
* 4) static constexpr LogField fields[] SD card logging
|
2019-12-19 19:40:27 -08:00
|
|
|
*
|
2021-11-26 18:21:46 -08:00
|
|
|
* see also [OutputChannels] in rusefi.input
|
|
|
|
* see also TS_OUTPUT_SIZE in rusefi_config.txt
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
2022-01-27 16:21:05 -08:00
|
|
|
struct TunerStudioOutputChannels : ts_outputs_s { };
|