mirror of https://github.com/rusefi/speeduino.git
Correct packetSize of comms
This commit is contained in:
parent
12ea4b1587
commit
b2c0e0a902
2
comms.h
2
comms.h
|
@ -11,6 +11,8 @@
|
||||||
#define boostvvtPage 8
|
#define boostvvtPage 8
|
||||||
#define seqFuelPage 9
|
#define seqFuelPage 9
|
||||||
|
|
||||||
|
#define packetSize 37
|
||||||
|
|
||||||
byte currentPage = 1;//Not the same as the speeduino config page numbers
|
byte currentPage = 1;//Not the same as the speeduino config page numbers
|
||||||
boolean isMap = true;
|
boolean isMap = true;
|
||||||
unsigned long requestCount = 0; //The number of times the A command has been issued
|
unsigned long requestCount = 0; //The number of times the A command has been issued
|
||||||
|
|
|
@ -16,7 +16,6 @@ const char TSfirmwareVersion[] = "Speeduino 2016.09";
|
||||||
const byte data_structure_version = 2; //This identifies the data structure when reading / writing.
|
const byte data_structure_version = 2; //This identifies the data structure when reading / writing.
|
||||||
const byte page_size = 64;
|
const byte page_size = 64;
|
||||||
const int map_page_size = 288;
|
const int map_page_size = 288;
|
||||||
const byte packetSize = 35;
|
|
||||||
|
|
||||||
//Handy bitsetting macros
|
//Handy bitsetting macros
|
||||||
#define BIT_SET(a,b) ((a) |= (1<<(b)))
|
#define BIT_SET(a,b) ((a) |= (1<<(b)))
|
||||||
|
|
Loading…
Reference in New Issue