|
|
@@ -1209,19 +1209,6 @@ void ctr_router(uint8_t status_router)
|
|
|
#endif
|
|
|
}
|
|
|
}
|
|
|
-//DTU_RTU供电
|
|
|
-void ctr_DTU_Power(uint8_t DTU_Power)
|
|
|
-{
|
|
|
- rt_pin_mode(RTU_DTU, PIN_MODE_OUTPUT);
|
|
|
-
|
|
|
- if(DTU_Power==ON)
|
|
|
- {
|
|
|
- rt_pin_write(ROUTER,ON);
|
|
|
- }
|
|
|
- else {
|
|
|
- rt_pin_write(ROUTER,OFF);
|
|
|
- }
|
|
|
-}
|
|
|
//清扫-推杆电机
|
|
|
void ctr_TG_Clear(uint16_t clear_timeout)
|
|
|
{
|
|
|
@@ -1285,7 +1272,7 @@ void ctr_RTU_DTU(uint8_t status_rtu)
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- rt_kprintf("RTU电源复位!!!\n");
|
|
|
+ LOG_W("RTU电源复位!!!");
|
|
|
rt_pin_write(RTU_DTU,OFF);
|
|
|
}
|
|
|
}
|