guowenxue
2021-11-03 b6a72028f0880a9e1d98502c15b7ceeaaf8042ce
mqttd/main.c
@@ -464,7 +464,15 @@
            {
                if( strcasestr(value, "on") )
                {
                    log_nrml("Turn buzzer on [%d] times\n", hwconf->beep_times);
          turn_passive_beep(ON, BEEP_FREQ);
                }
      else if( strcasestr(value, "off") )
                {
          turn_passive_beep(OFF, BEEP_FREQ);
                }
      else if( strcasestr(value, "music") )
                {
          play_little_star();
                }
            }