rework of the device descripton in proto

This commit is contained in:
2024-04-30 02:38:56 +02:00
parent 6782048b51
commit fe432acef3
5 changed files with 24 additions and 21 deletions

View File

@@ -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;
}