|
@@ -13,6 +13,7 @@
|
|
|
#define MODULE_MAX_VOL 1000
|
|
|
|
|
|
#define DEBUG_LIB 1
|
|
|
+#define CHECK_PSU_NUM_COUNT 30
|
|
|
|
|
|
void PRINTF_LIB_FUNC(char *string, ...);
|
|
|
float IEEE_754_to_float(const byte raw[4]);
|
|
@@ -314,7 +315,7 @@ void ReceiveDataFromCanBus()
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- if (checkTotalCount >= 10)
|
|
|
+ if (checkTotalCount >= CHECK_PSU_NUM_COUNT)
|
|
|
{
|
|
|
printf("***** Total Count = %d ***** \n", count);
|
|
|
_totalModuleCount = count;
|