Speeduino
Loading...
Searching...
No Matches
updates.h
Go to the documentation of this file.
1#ifndef UPDATES_H
2#define UPDATES_H
3
4#include "table3d.h"
5
6void doUpdates(void);
7void multiplyTableLoad(table3d_t *pTable, TableType key, uint8_t multiplier); //Added 202201 - to update the table Y axis as TPS now works at 0.5% increments. Multiplies the load axis values by 4 (most tables) or by 2 (VVT table)
8void divideTableLoad(table3d_t *pTable, TableType key, uint8_t divisor); //Added 202201 - to update the table Y axis as TPS now works at 0.5% increments. This should only be needed by the VVT tables when using MAP as load.
9void multiplyTableValue(uint8_t pageNum, uint8_t multiplier); //Added to update the table values. Multiplies the value by the multiplier
10void divideTableValue(uint8_t pageNum, uint8_t divisor); //Added to update the table values. Divide the value by divisor
11
12#endif
static TIntegral readSerialIntegralTimeout(void)
Reads an integral type, timing out if necessary.
Definition comms.cpp:175
TableType
Table type identifiers. Limited compile time RTTI.
Definition table3d.h:69
Definition table3d.h:79
3D table data types and functions
void multiplyTableValue(uint8_t pageNum, uint8_t multiplier)
Definition updates.cpp:895
void divideTableValue(uint8_t pageNum, uint8_t divisor)
Definition updates.cpp:904
void doUpdates(void)
Definition updates.cpp:67
void multiplyTableLoad(table3d_t *pTable, TableType key, uint8_t multiplier)
Definition updates.cpp:875
void divideTableLoad(table3d_t *pTable, TableType key, uint8_t divisor)
Definition updates.cpp:885