添加时钟 阶段性提交
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
#ifdef HAL_IMPL
|
||||
/* TODO include files */
|
||||
#include "AppProcessQEkff.h"
|
||||
|
||||
//#include "SEGGER_RTT.h"
|
||||
//#include "SEGGER_RTT_Conf.h"
|
||||
#endif
|
||||
#include <stdint.h>
|
||||
/* %%%-SFUNWIZ_wrapper_includes_Changes_END --- EDIT HERE TO _BEGIN */
|
||||
@@ -98,7 +99,8 @@ void hal_6axis_imu_Outputs_wrapper(HAL_acc_SI_t *acc,
|
||||
{
|
||||
#ifdef HAL_IMPL
|
||||
// TODO read 6axis-IMU
|
||||
if(AppImuGetRawData(id[0], acc->x, acc->y, acc->z, gyro->x, gyro->y, gyro->z))
|
||||
//SEGGER_RTT_printf(0, "AppImuGetRawData = %d \n",id[0]);
|
||||
if(AppImuGetRawData(id[0], &acc->x, &acc->y, &acc->z, &gyro->x, &gyro->y, &gyro->z, &acc->seq, &gyro->seq))
|
||||
{
|
||||
ErrorCode[0] = 0;
|
||||
}
|
||||
@@ -113,7 +115,8 @@ void hal_6axis_imu_Outputs_wrapper(HAL_acc_SI_t *acc,
|
||||
{
|
||||
#ifdef HAL_IMPL
|
||||
// TODO read 6axis-IMU
|
||||
if(AppImuGetRawData(id[0], acc->x, acc->y, acc->z, gyro->x, gyro->y, gyro->z))
|
||||
//SEGGER_RTT_printf(0, "AppImuGetRawData = %d \n",id[0]);
|
||||
if(AppImuGetRawData(id[0], &acc->x, &acc->y, &acc->z, &gyro->x, &gyro->y, &gyro->z, &acc->seq, &gyro->seq))
|
||||
{
|
||||
ErrorCode[0] = 0;
|
||||
}
|
||||
@@ -128,7 +131,8 @@ void hal_6axis_imu_Outputs_wrapper(HAL_acc_SI_t *acc,
|
||||
{
|
||||
#ifdef HAL_IMPL
|
||||
// TODO read 6axis-IMU
|
||||
if(AppImuGetRawData(id[0], acc->x, acc->y, acc->z, gyro->x, gyro->y, gyro->z))
|
||||
//SEGGER_RTT_printf(0, "AppImuGetRawData = %d \n",id[0]);
|
||||
if(AppImuGetRawData(id[0], &acc->x, &acc->y, &acc->z, &gyro->x, &gyro->y, &gyro->z, &acc->seq, &gyro->seq))
|
||||
{
|
||||
ErrorCode[0] = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user