/* * Copyright (c) 2006-2021, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2024-09-29 Administrator the first version */ #ifndef APPLICATIONS_SELFCHECK_H_ #define APPLICATIONS_SELFCHECK_H_ extern rt_timer_t timer_takephoto; typedef struct _C_DEVICE_ERROR_INFO_ { uint8_t sta_lamp; uint8_t sta_heat; uint8_t sta_camera; uint8_t sta_led; uint8_t sta_bat; uint8_t sta_rain; uint8_t sta_light; uint8_t sta_tempture; uint8_t sta_motor_upper; uint8_t sta_motor_lower; uint8_t sta_motor_clear; uint8_t sta_location; uint8_t sta_rtu_communication; }; int selfcheck(uint8_t type); #endif /* APPLICATIONS_SELFCHECK_H_ */