bigcode-starcoder2-15b / fuel_learning_table.h
Dikhan1's picture
Upload 24 files
96a5049 verified
raw
history blame
362 Bytes
#pragma once
#include "Arduino.h"
class FuelLearningTable {
private:
float corrections[16][16];
uint32_t cellHits[16][16];
public:
FuelLearningTable();
void reset();
bool save();
bool load();
float getCorrection(float load, float rpm);
void update(float load, float rpm, float correction);
float getProgress() const;
};