diff --git a/README.md b/README.md index 1dc7400..26b8951 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ serial-port-json-server ======================= -Version 1.87 +Version 1.88 A serial port JSON websocket & web server that runs from the command line on Windows, Mac, Linux, Raspberry Pi, or Beagle Bone that lets you communicate with your serial port from a web application. This enables web apps to be written that can communicate with your local serial device such as an Arduino, CNC controller, or any device that communicates over the serial port. Since version 1.82 you can now also program your Arduino by uploading a hex file. diff --git a/feedrateoverride.go b/feedrateoverride.go index 3f9618b..17d1195 100644 --- a/feedrateoverride.go +++ b/feedrateoverride.go @@ -59,8 +59,6 @@ func spFeedRateOverride(arg string) { return } - myport.isFeedRateOverrideOn = true - // see if they are just querying status if len(args) == 2 { sendStatusOnFeedrateOverride(myport) @@ -76,6 +74,8 @@ func spFeedRateOverride(arg string) { return } + myport.isFeedRateOverrideOn = true + myport.feedRateOverride = float32(fro) var frj froRequestJson