speeduino/speeduino/updates.h

12 lines
796 B
C
Raw Permalink Normal View History

2018-07-19 00:35:35 -07:00
#ifndef UPDATES_H
#define UPDATES_H
2022-01-03 17:19:58 -08:00
#include "table3d.h"
2022-11-05 15:43:29 -07:00
void doUpdates(void);
void multiplyTableLoad(void *pTable, table_type_t 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)
void divideTableLoad(void *pTable, table_type_t 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.
void multiplyTableValue(uint8_t pageNum, uint8_t multiplier); //Added to update the table values. Multiplies the value by the multiplier
void divideTableValue(uint8_t pageNum, uint8_t divisor); //Added to update the table values. Divide the value by divisor
2018-07-19 00:35:35 -07:00
#endif