修复右转向错位

This commit is contained in:
sunbeam 2024-05-24 16:35:36 +08:00
parent 99544a20fa
commit f7724d587a
4 changed files with 20 additions and 74 deletions

File diff suppressed because one or more lines are too long

View File

@ -1239,7 +1239,7 @@ S3150000ED0636B4F0510871B1FC37F300718C36B4F0A5
S3150000ED16510671C1FC37F300718C36B4F05104719B
S3150000ED26D1FC37F300718C36B5F0F171A1FC37F3DF
S3150000ED3600718C36B5F0E171E1FC37F300718C3663
S3150000ED46B7F0510271D1FC37F300718C36B8F05129
S3150000ED46B7F0510271E1FC37F300718C36B8F05119
S3150000ED560571C1FC37F300718C36B9F05107718124
S3150000ED66FC37F300718C36B9F05207719130B4F066
S3150000ED76FC7EF3009FBBF05103FC37F300718C3623

View File

@ -1,53 +1,10 @@
QualityReport
2024年5月23日 19:59:11
2024年5月24日 16:27:02
------ Start build(ECU_APP, DefaultBuild) ------
E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe rscan_driver\r_rl78_can_irq.c r_main.c r_cg_timer_user.c CanNw\CanNw.c CanNw\CanNwConfig.c diagnose\Dcm_App.c diagnose\Dcm_App_Cfg.c diagnose\Dcm_Cfg.c diagnose\Dcm_DID_Cfg.c diagnose\extern.c diagnose\CanIf\CanIf_Cfg.c diagnose\CanTp\CanTp_Cfg.c diagnose\DTC\DCM_DTC.c diagnose\Dcm.c diagnose\CanTp\CanTp.c user\appTask.c user\can_user.c user\hwCtrl.c -cpu=S3 -obj_path=DefaultBuild "-dev=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10BBG.DVF" -g -g_line -I diagnose\DTC -I diagnose\CanTrcv -I sys -I . -I rscan_driver -I diagnose -I DataFlash -I CanNw -I diagnose\CanTp -I diagnose\CanIf -I user -D DEBUG1 -c -msg_lang=english
E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe rscan_driver\r_rl78_can_irq.c r_main.c r_cg_timer_user.c CanNw\CanNw.c CanNw\CanNwConfig.c diagnose\Dcm_DID_Cfg.c diagnose\extern.c user\appTask.c user\can_user.c -cpu=S3 -obj_path=DefaultBuild "-dev=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10BBG.DVF" -g -g_line -I diagnose\DTC -I diagnose\CanTrcv -I sys -I . -I rscan_driver -I diagnose -I DataFlash -I CanNw -I diagnose\CanTp -I diagnose\CanIf -I user -D DEBUG1 -c -msg_lang=english
r_main.c(134):W0523076:Function declarations should have prototype
r_cg_timer_user.c(141):W0520167:Argument of type "uint16_t __near *" is incompatible with parameter of type "unsigned int *__near"
diagnose\Dcm_App.c(296):W0520549:Variable "DcmResetDelay" is used before its value is set
diagnose\Dcm_App.c(320):W0520177:Variable "ResetDelayCnt" was declared but never referenced
diagnose\Dcm_App.c(470):W0520177:Variable "ResetDelayCnt" was declared but never referenced
diagnose\Dcm_App.c(899):W0520549:Variable "LeDcm_u_Result" is used before its value is set
diagnose\Dcm_App.c(966):W0520549:Variable "LeDcm_u_Result" is used before its value is set
diagnose\Dcm_App.c(917):W0520177:Variable "LaDcm_u_TempBuffer" was declared but never referenced
diagnose\Dcm_App.c(1281):W0520940:Missing return statement at end of non-void function "MngDcm_RoutineF001Start"
diagnose\Dcm_App.c(1285):W0520940:Missing return statement at end of non-void function "MngDcm_RoutineF001Stop"
diagnose\Dcm_App.c(1289):W0520940:Missing return statement at end of non-void function "MngDcm_RoutineF001Result"
diagnose\Dcm_App.c(1559):W0520177:Variable "temp" was declared but never referenced
diagnose\Dcm_App.c(1906):W0520549:Variable "LeDcm_u_FinallyResult" is used before its value is set
diagnose\Dcm_App.c(1840):W0520177:Variable "LeDcm_u_dataFomatldentifier" was declared but never referenced
diagnose\Dcm_App.c(1841):W0520177:Variable "LeDcm_u_addressAndLengthFomatldentifier" was declared but never referenced
diagnose\Dcm_App.c(1842):W0520177:Variable "LeDcm_w_Address" was declared but never referenced
diagnose\Dcm_App.c(1843):W0520177:Variable "LeDcm_w_DataLength" was declared but never referenced
diagnose\Dcm_App.c(1844):W0520177:Variable "LeDcm_u_SidIndex" was declared but never referenced
diagnose\Dcm_App.c(1845):W0520177:Variable "LeDcm_u_SecurityAccessCheckResult" was declared but never referenced
diagnose\Dcm_App.c(1846):W0520177:Variable "LaDcm_u_TempBuffer" was declared but never referenced
diagnose\Dcm_App.c(2010):W0520549:Variable "LeDcm_u_FinallyResult" is used before its value is set
diagnose\Dcm_App.c(1926):W0520177:Variable "LeDcm_w_SingleTransmitDataCount" was declared but never referenced
diagnose\Dcm_App.c(1927):W0520177:Variable "LeDcm_u_BlockSequenceCount" was declared but never referenced
diagnose\Dcm_App.c(1928):W0520177:Variable "LeDcm_u_BlockExpect" was declared but never referenced
diagnose\Dcm_App.c(1929):W0520177:Variable "LaDcm_u_TempBuffer" was declared but never referenced
diagnose\Dcm_App.c(60):W0520177:Variable "CeDcm_w_SecurityAccessFBLMask" was declared but never referenced
diagnose\Dcm_App.c(63):W0520177:Variable "SeDcm_w_DownLoadDataLength" was declared but never referenced
diagnose\Dcm_App.c(64):W0520177:Variable "SeDcm_w_TransmitDataCount" was declared but never referenced
diagnose\Dcm_App.c(65):W0520177:Variable "SeDcm_u_BlockSequenceCountSts" was declared but never referenced
diagnose\Dcm_App.c(66):W0520177:Variable "CaDcm_w_SingleAllowDateLength" was declared but never referenced
diagnose\Dcm_App.c(71):W0520177:Variable "SeDcm_u_RidF001Sts" was declared but never referenced
diagnose\Dcm_Cfg.c(83):W0520144:A value of type "uint8 (__far *)(void)" cannot be used to initialize an entity of type "SubDealfunc"
diagnose\Dcm_Cfg.c(84):W0520144:A value of type "uint8 (__far *)(void)" cannot be used to initialize an entity of type "SubDealfunc"
diagnose\Dcm_Cfg.c(87):W0520144:A value of type "uint8 (__far *)(void)" cannot be used to initialize an entity of type "SubDealfunc"
diagnose\Dcm_Cfg.c(1157):W0520940:Missing return statement at end of non-void function "MngDcm_ReadMemoryDataService"
diagnose\Dcm_Cfg.c(1179):W0520167:Argument of type "const TsDcm_h_WithParaSubCheckType __near *" is incompatible with parameter of type "const TsDcm_h_SubCheckType __far *__near"
diagnose\Dcm_Cfg.c(1199):W0520167:Argument of type "const TsDcm_h_WithParaSubCheckType __near *" is incompatible with parameter of type "const TsDcm_h_SubCheckType __far *__near"
diagnose\Dcm_Cfg.c(1240):W0520167:Argument of type "const TsDcm_h_WithParaSubCheckType __near *" is incompatible with parameter of type "const TsDcm_h_SubCheckType __far *__near"
diagnose\Dcm_Cfg.c(1259):W0520167:Argument of type "const TsDcm_h_WithParaSubCheckType __near *" is incompatible with parameter of type "const TsDcm_h_SubCheckType __far *__near"
diagnose\Dcm_Cfg.c(1294):W0520177:Variable "i" was declared but never referenced
diagnose\Dcm_Cfg.c(1304):W0520177:Variable "LeDcm_u_CollectDataPost" was declared but never referenced
diagnose\Dcm_Cfg.c(1597):W0520177:Variable "LeDcm_u_DLCheckResult" was declared but never referenced
diagnose\Dcm_Cfg.c(1603):W0520177:Variable "LeDcm_u_CollectDataPost" was declared but never referenced
diagnose\Dcm_Cfg.c(509):W0520177:Function "MngDcm_2AReadDidCheckDL" was declared but never referenced
diagnose\Dcm_Cfg.c(551):W0520177:Function "MngDcm_IoDidCheckDL" was declared but never referenced
diagnose\Dcm_DID_Cfg.c(177):W0520144:A value of type "long" cannot be used to initialize an entity of type "uint8 __far *__near"
diagnose\Dcm_DID_Cfg.c(177):W0520152:Conversion of nonzero integer to pointer
diagnose\Dcm_DID_Cfg.c(307):W0520174:Expression has no effect
@ -64,17 +21,6 @@ diagnose\extern.c(334):W0520111:Statement is unreachable
diagnose\extern.c(505):W0520940:Missing return statement at end of non-void function "GetCanBusOffErr"
diagnose\extern.c(523):W0520940:Missing return statement at end of non-void function "GetBcmCommFault"
diagnose\extern.c(540):W0520940:Missing return statement at end of non-void function "GetAcpCommFault"
diagnose\CanIf\CanIf_Cfg.c(33):W0520009:Nested comment is not allowed
diagnose\CanIf\CanIf_Cfg.c(43):W0520009:Nested comment is not allowed
diagnose\DTC\DCM_DTC.c(111):W0520167:Argument of type "uint32 __near *" is incompatible with parameter of type "unsigned char *__near"
diagnose\DTC\DCM_DTC.c(175):W0520167:Argument of type "uint8 __near (*)[2]" is incompatible with parameter of type "unsigned char *__near"
diagnose\DTC\DCM_DTC.c(166):W0520177:Variable "DtcSnapshotRecord" was declared but never referenced
diagnose\DTC\DCM_DTC.c(780):W0520167:Argument of type "uint8 __near (*)[28]" is incompatible with parameter of type "unsigned char *__near"
diagnose\DTC\DCM_DTC.c(97):W0520177:Function "ChkDiagVolt" was declared but never referenced
diagnose\DTC\DCM_DTC.c(107):W0520177:Function "GetLastSnapshotRecordNum" was declared but never referenced
diagnose\Dcm.c(69):W0520550:Variable "LeDcm_u_FinallyResult" was set but never used
diagnose\CanTp\CanTp.c(192):W0520069:Integer conversion resulted in truncation
diagnose\CanTp\CanTp.c(786):W0520188:Enumerated type mixed with another type
E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\rlink.exe -subcommand=DefaultBuild\ECU_APP.clnk
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
RAMDATA SECTION: 00000bf3 Byte(s)
@ -83,7 +29,7 @@ PROGRAM SECTION: 00004dc0 Byte(s)
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
Renesas Optimizing Linker Completed
------ Build ended(Error:0, Warning:75)(ECU_APP, DefaultBuild) ------
------ Build ended(Error:0, Warning:21)(ECU_APP, DefaultBuild) ------
--- CommandFile 1 ---
DefaultBuild\ECU_APP.clnk :
@ -168,9 +114,9 @@ DefaultBuild\ECU_APP.clnk :
--- SHA1 hash value of output files ---
F:\FCB_project\temp\HS550\code\ECU_APP\DefaultBuild\ECU_APP.abs: f6bb349eab3330412e36ef94b09cec36f5be7c3f
F:\FCB_project\temp\HS550\code\ECU_APP\DefaultBuild\ECU_APP.mot: 2eeb385bb9bb72ba12f889cd97f4b9ae8e1d7e58
F:\FCB_project\temp\HS550\code\ECU_APP\output\ECU_APP.S19: aea5a432a46ab659438a5362d4fd0c3bce7b92b0
F:\FCB_project\temp\HS550\code\ECU_APP\DefaultBuild\ECU_APP.abs: 5789700906a6715421241d8a08276687e0482ea7
F:\FCB_project\temp\HS550\code\ECU_APP\DefaultBuild\ECU_APP.mot: 162274c4583b3ea04130ac657ab7c6beadd2e2fa
F:\FCB_project\temp\HS550\code\ECU_APP\output\ECU_APP.S19: 43c9abe10405f05bf4af040bc8df41b109d4ba66
--- System Information ---
@ -198,11 +144,11 @@ F:\FCB_project\temp\HS550\code\ECU_APP\output\ECU_APP.S19: aea5a432a46ab659438a5
E:\Program Files (x86)\renesas\CS+\CC
*Memory Usage
*Private Working Set
320 MB
264 MB
*Number of GDI Objects
2129
2087
*Number of USER Objects
1158
1151
*Opened Files
5 editors, 5 files, 36 KB

View File

@ -153,9 +153,9 @@ typedef union{
unsigned char reverse3:8;//
//BYTE 4 bit 24
unsigned char reverse40:5;//
unsigned char reverse40:6;//
unsigned char RightSteering:1;//P34右转向
unsigned char reverse41:2;//
unsigned char reverse41:1;//
//BYTE 5 bit 32
unsigned char reverse50:4;//