|
@@ -49,7 +49,8 @@ void FLASH_voReadMoreData(ULONG startAddress, UWORD readData[], UWORD countToRea
|
|
#include "gd32f30x.h"
|
|
#include "gd32f30x.h"
|
|
#include "queue.h"
|
|
#include "queue.h"
|
|
#include "string.h"
|
|
#include "string.h"
|
|
-#include "AssistCurve.h"
|
|
|
|
|
|
+#include "AssistCurve.h"
|
|
|
|
+#include "user.h"
|
|
/*************************************************************************
|
|
/*************************************************************************
|
|
Exported Functions (N/A)
|
|
Exported Functions (N/A)
|
|
*************************************************************************/
|
|
*************************************************************************/
|
|
@@ -127,7 +128,7 @@ void flash_voParaInit(void)
|
|
strncpy(flash_stPara.ubMotorVersion, (char *)"MIGIC_T1", 8);
|
|
strncpy(flash_stPara.ubMotorVersion, (char *)"MIGIC_T1", 8);
|
|
strncpy(flash_stPara.ubProdInfo.MacBrand, (char *)"MM_MT1", 6);
|
|
strncpy(flash_stPara.ubProdInfo.MacBrand, (char *)"MM_MT1", 6);
|
|
#elif ((MOTOR_ID_SEL == MOTOR_WELLING_CITY_36V) || (MOTOR_ID_SEL == MOTOR_WELLING_CITY_48V))
|
|
#elif ((MOTOR_ID_SEL == MOTOR_WELLING_CITY_36V) || (MOTOR_ID_SEL == MOTOR_WELLING_CITY_48V))
|
|
- strncpy(MC_VerInfo.HW_Version, (char *)"MIGIC_C1", 8);
|
|
|
|
|
|
+ strncpy(flash_stPara.ubMotorVersion, (char *)"MIGIC_C1", 8);
|
|
strncpy(flash_stPara.ubProdInfo.MacBrand, (char *)"MM_MC1", 6);
|
|
strncpy(flash_stPara.ubProdInfo.MacBrand, (char *)"MM_MC1", 6);
|
|
#endif
|
|
#endif
|
|
strncpy(flash_stPara.ubProdInfo.Manufacturer, (char *)"TTIUM", 5);
|
|
strncpy(flash_stPara.ubProdInfo.Manufacturer, (char *)"TTIUM", 5);
|