rework of the device descripton in proto
This commit is contained in:
@@ -27,7 +27,7 @@ HAL_StatusTypeDef CLS_BSP_CAN_SetUniversalFilter(const CLS_BSP_CAN_UniversalFilt
|
||||
|
||||
|
||||
CLS_Type_t CLS_BSP_GetDeviceType(void) {
|
||||
return CLS_TYPE_MASTER;
|
||||
return cls_device_Type_MASTER;
|
||||
}
|
||||
|
||||
|
||||
@@ -36,8 +36,8 @@ void CLS_BSP_SetDeviceType(CLS_Type_t type) {
|
||||
|
||||
CLS_Position_t CLS_BSP_GetPosition(void) {
|
||||
CLS_Position_t position;
|
||||
position.p0 = CLS_POSITION_FRONT;
|
||||
position.p1 = CLS_POSITION_CENTER;
|
||||
position.p0 = cls_device_Position_FRONT;
|
||||
position.p1 = cls_device_Position_CENTER;
|
||||
return position;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user