Commit a53b1e58 authored by supermikii's avatar supermikii
Browse files

refactor demo3

parent e1b302ca
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -251,8 +251,6 @@ func demo3Register(w http.ResponseWriter, r *http.Request) {

	// Start app registeration ticker counter
	if !appEnablementEnabled {
		startTicker()
		time.Sleep(time.Second)

		// If app is restarted, clean app activity, AMS terminal devices, discovered services
		appActivityLogs = []string{}
@@ -379,6 +377,8 @@ func demo3Register(w http.ResponseWriter, r *http.Request) {

		appEnablementEnabled = true

		startTicker()

	}

	// Send resp