mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-13 13:38:14 +08:00
9 lines
157 B
C
9 lines
157 B
C
|
|
void UserSend(int udp_flag, char *s)
|
|
{
|
|
if (udp_flag || !UserMqttIsConnect())
|
|
UserUdpSend(s); //发送数据
|
|
else
|
|
UserMqttSend(s);
|
|
}
|