quicker float operation for inductive sensor mapping
This commit is contained in:
@@ -10,6 +10,10 @@ typedef struct IndSensorMap {
|
||||
float B;
|
||||
float C;
|
||||
float v;
|
||||
|
||||
// Pre-computed constants for faster toMM()
|
||||
float invB; // 1.0 / B
|
||||
float K_minus_A; // K - A
|
||||
} IndSensorMap;
|
||||
|
||||
class IndSensor {
|
||||
|
||||
Reference in New Issue
Block a user