reducing confusion between library header and rusefi main repo header

This commit is contained in:
Andrey 2022-09-01 11:35:35 -04:00
parent bd0b93439f
commit 2b01d856d3
6 changed files with 8 additions and 6 deletions

View File

@ -40,7 +40,7 @@
#include "allsensors.h" #include "allsensors.h"
#include "sensor.h" #include "sensor.h"
#include "settings.h" #include "settings.h"
#include "interpolation.h" #include "efi_interpolation.h"
#include "perf_trace.h" #include "perf_trace.h"
#include "hardware.h" #include "hardware.h"
#include "thread_priority.h" #include "thread_priority.h"

View File

@ -8,7 +8,7 @@
#pragma once #pragma once
#include <math.h> #include <math.h>
#include "interpolation.h" #include "efi_interpolation.h"
#include "efilib.h" #include "efilib.h"
#include "efi_ratio.h" #include "efi_ratio.h"
#include "scaled_channel.h" #include "scaled_channel.h"

View File

@ -1,5 +1,6 @@
/** /**
* @file interpolation.h * @file efi_interpolation.h
* See also libfirmware interpolation.h
* *
* @date Oct 17, 2013 * @date Oct 17, 2013
* @author Andrey Belomutskiy, (c) 2012-2020 * @author Andrey Belomutskiy, (c) 2012-2020
@ -7,6 +8,7 @@
#pragma once #pragma once
#include <rusefi/isnan.h>
#include <math.h> #include <math.h>
#include "datalogging.h" #include "datalogging.h"
#include "obd_error_codes.h" #include "obd_error_codes.h"

View File

@ -12,7 +12,7 @@
#include "pch.h" #include "pch.h"
#include "interpolation.h" #include "efi_interpolation.h"
#define BINARY_PERF true #define BINARY_PERF true

View File

@ -6,7 +6,7 @@
*/ */
#include "pch.h" #include "pch.h"
#include "interpolation.h" #include "efi_interpolation.h"
static void testIndex(const int expected, const float array[], int size, float value) { static void testIndex(const int expected, const float array[], int size, float value) {
ASSERT_EQ(expected, findIndex(array, size, value)); ASSERT_EQ(expected, findIndex(array, size, value));

View File

@ -9,7 +9,7 @@
#include <stdlib.h> #include <stdlib.h>
#include "interpolation.h" #include "efi_interpolation.h"
float rpmBins[5] = { 100, 200, 300, 400, 500 }; float rpmBins[5] = { 100, 200, 300, 400, 500 };
scaled_channel<uint8_t, 1, 50> rpmBinsScaledByte[5] = { 100, 200, 300, 400, 500}; scaled_channel<uint8_t, 1, 50> rpmBinsScaledByte[5] = { 100, 200, 300, 400, 500};