增加了spi的bsp支持

This commit is contained in:
NeoZng
2022-12-28 23:12:25 +08:00
parent 25a0e24529
commit ab1a9726b1
10 changed files with 320 additions and 4 deletions

View File

@@ -317,7 +317,7 @@ uint8_t bmi088_gyro_init(void)
void BMI088_Read(IMU_Data_t *bmi088)
{
static uint8_t buf[8] = {0, 0, 0, 0, 0, 0};
static uint8_t buf[8] = {0};
static int16_t bmi088_raw_temp;
static float dt = 1.0;
static uint8_t first_read_flag = 0;