mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
reduce Luna2000 register allocation from 50k to 30k
This commit is contained in:
parent
e7b1958ff5
commit
e37b8f7e1b
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ static ACAN2515_Buffer16 gBuffer;
|
||||||
#define MB_RTU_NUM_VALUES 30000
|
#define MB_RTU_NUM_VALUES 30000
|
||||||
#endif
|
#endif
|
||||||
#if defined(LUNA2000_MODBUS)
|
#if defined(LUNA2000_MODBUS)
|
||||||
#define MB_RTU_NUM_VALUES 50000
|
#define MB_RTU_NUM_VALUES 30000
|
||||||
#endif
|
#endif
|
||||||
#if defined(BYD_MODBUS) || defined(LUNA2000_MODBUS)
|
#if defined(BYD_MODBUS) || defined(LUNA2000_MODBUS)
|
||||||
uint16_t mbPV[MB_RTU_NUM_VALUES]; // Process variable memory
|
uint16_t mbPV[MB_RTU_NUM_VALUES]; // Process variable memory
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#define LUNA2000_MODBUS_H
|
#define LUNA2000_MODBUS_H
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
|
||||||
#define MB_RTU_NUM_VALUES 50000
|
#define MB_RTU_NUM_VALUES 30000
|
||||||
// Definitions for BMS status
|
// Definitions for BMS status
|
||||||
#define STANDBY 0
|
#define STANDBY 0
|
||||||
#define INACTIVE 1
|
#define INACTIVE 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue