latest version
This commit is contained in:
@@ -146,7 +146,7 @@ void EDCAN_WriteUserRegister(uint16_t addr, uint8_t value){
|
||||
|
||||
//0x220
|
||||
case EDCAN_REG_MAX_LOAD ... (EDCAN_REG_MAX_LOAD+sizeof(GBT_CML_t)):
|
||||
((uint8_t*)&GBT_MaxLoad)[addr - EDCAN_REG_MAX_LOAD] = value;
|
||||
// ((uint8_t*)&GBT_MaxLoad)[addr - EDCAN_REG_MAX_LOAD] = value;
|
||||
break;
|
||||
|
||||
//0x200
|
||||
@@ -165,7 +165,7 @@ void EDCAN_WriteUserRegister(uint16_t addr, uint8_t value){
|
||||
|
||||
|
||||
default:
|
||||
printf ("Unknown register\n");
|
||||
//printf ("Unknown register\n");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user