From 2a2635ccf1dc2125e07b29d31837ce44391f212b Mon Sep 17 00:00:00 2001 From: Florian Thienel Date: Wed, 13 Oct 2021 19:58:21 +0200 Subject: [PATCH] fix typo --- ctrl/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctrl/command.go b/ctrl/command.go index b557e71..8cd5c50 100644 --- a/ctrl/command.go +++ b/ctrl/command.go @@ -16,7 +16,7 @@ func SetOperatingMode(mode AIMode) string { return fmt.Sprintf("AT+CTOM=%d", mode) } -const operatingModeRequest = "AT+TOM?" +const operatingModeRequest = "AT+CTOM?" var operatingModeResponse = regexp.MustCompile(`^\+CTOM: (\d+)$`)