--- remove unused code PME_ON/OFF

This commit is contained in:
Yunhorn 2024-07-29 12:36:29 +08:00
parent 58a894f718
commit e990164543
2 changed files with 1 additions and 28 deletions

View File

@ -684,8 +684,7 @@ void OnSensor3BStateChanged(void);
void OnSensor3CStateChanged(void);
void OnSensor4StateChanged(void);
uint32_t STS_Get_Date_Time_Stamp(void);//uint32_t *time_stamp, uint8_t *datetimestamp);
void STS_SENSOR_Power_ON(uint8_t cnt);
void STS_SENSOR_Power_OFF(uint8_t cnt);
void STS_SENSOR_MEMS_Reset(uint8_t cnt);
void STS_PRESENCE_SENSOR_NVM_CFG(void);

View File

@ -963,32 +963,6 @@ uint8_t STS_SENSOR_MEMS_Get_ID(uint8_t *devID)
}
void STS_SENSOR_Power_ON(uint8_t cnt)
{
switch (cnt) {
case 0:
case 1:
case 2:
PME_ON;
break;
default:
break;
}
}
void STS_SENSOR_Power_OFF(uint8_t cnt)
{
switch (cnt) {
case 0:
case 1:
case 2:
PME_OFF;
break;
default:
break;
}
}
void STS_SENSOR_MEMS_Reset(uint8_t cnt)
{
switch (cnt) {