dead code? (#4325)
* dead code? * dead code? * dead code? Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
parent
8ef0af10d1
commit
372f5e6790
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
#include "tunerstudio.h"
|
#include "tunerstudio.h"
|
||||||
#include "wideband_state_generated.h"
|
#include "wideband_state_generated.h"
|
||||||
|
#include "electronic_throttle_generated.h"
|
||||||
|
#include "knock_controller_generated.h"
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const output_channels_s* getLiveDataAddr() {
|
const output_channels_s* getLiveDataAddr() {
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "tunerstudio_io.h"
|
#include "tunerstudio_io.h"
|
||||||
#include "electronic_throttle_generated.h"
|
|
||||||
#include "knock_controller_generated.h"
|
|
||||||
#include "FragmentEntry.h"
|
#include "FragmentEntry.h"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -44,18 +42,7 @@ void requestBurn(void);
|
||||||
|
|
||||||
void startTunerStudioConnectivity(void);
|
void startTunerStudioConnectivity(void);
|
||||||
|
|
||||||
#if defined __GNUC__
|
typedef struct {
|
||||||
// GCC
|
|
||||||
#define pre_packed
|
|
||||||
#define post_packed __attribute__((packed))
|
|
||||||
#else
|
|
||||||
// IAR
|
|
||||||
#define pre_packed __packed
|
|
||||||
#define post_packed
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef pre_packed struct
|
|
||||||
post_packed {
|
|
||||||
short int offset;
|
short int offset;
|
||||||
short int count;
|
short int count;
|
||||||
} TunerStudioWriteChunkRequest;
|
} TunerStudioWriteChunkRequest;
|
||||||
|
|
Loading…
Reference in New Issue