reduce Luna2000 register allocation from 50k to 30k

This commit is contained in:
lenvm 2023-11-22 22:27:38 +01:00
parent e7b1958ff5
commit e37b8f7e1b
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ static ACAN2515_Buffer16 gBuffer;
#define MB_RTU_NUM_VALUES 30000
#endif
#if defined(LUNA2000_MODBUS)
#define MB_RTU_NUM_VALUES 50000
#define MB_RTU_NUM_VALUES 30000
#endif
#if defined(BYD_MODBUS) || defined(LUNA2000_MODBUS)
uint16_t mbPV[MB_RTU_NUM_VALUES]; // Process variable memory

View file

@ -2,7 +2,7 @@
#define LUNA2000_MODBUS_H
#include <Arduino.h>
#define MB_RTU_NUM_VALUES 50000
#define MB_RTU_NUM_VALUES 30000
// Definitions for BMS status
#define STANDBY 0
#define INACTIVE 1