Home
last modified time | relevance | path

Searched refs:g_acc_active_count (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/sensor/drv/
A Ddrv_acc_gyro_bosch_bmi260.c308 static int g_acc_active_count = 0; variable
751 if(g_acc_active_count == 0) in drv_acc_bosch_bmi260_set_power_mode()
752 g_acc_active_count++; in drv_acc_bosch_bmi260_set_power_mode()
771 if(g_acc_active_count > 0) in drv_acc_bosch_bmi260_set_power_mode()
772 g_acc_active_count = 0; in drv_acc_bosch_bmi260_set_power_mode()
1438 if(g_acc_active_count > 0) { in drv_gyro_bosch_bmi260_set_power_mode()
1441 } else if(g_acc_active_count == 0) { in drv_gyro_bosch_bmi260_set_power_mode()
1445 printf("g_acc_active_count error g_acc_active_count %d\n", g_acc_active_count); in drv_gyro_bosch_bmi260_set_power_mode()
1461 if(g_acc_active_count >= 0) { in drv_gyro_bosch_bmi260_set_power_mode()
1464 printf("g_acc_active_count error g_acc_active_count %d\n", g_acc_active_count); in drv_gyro_bosch_bmi260_set_power_mode()

Completed in 5 milliseconds