mirror of
https://github.com/mck1117/wideband.git
synced 2026-11-08 05:16:31 -05:00
* heater: export state and description * pump_dac: save and export Ipump * float interpolation helpers * Show heater state, heater duty, temperature and fault over uart * uart: more stack for thread
11 lines
290 B
C
11 lines
290 B
C
#pragma once
|
|
|
|
struct inter_point {
|
|
float x;
|
|
float y;
|
|
};
|
|
|
|
float interpolateFloat(float x1, float y1, float x2, float y2, float x);
|
|
float interpolateFloatClamped(float x1, float y1, float x2, float y2, float x);
|
|
float interpolate_1d_float(const struct inter_point *p, int size, float x);
|