Skip to content

Commit

Permalink
Correct typos in comment and message
Browse files Browse the repository at this point in the history
  • Loading branch information
per1234 committed May 25, 2024
1 parent 369c3ab commit 1eba144
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func main() {

if *hasDownloadFile {
go http.ListenAndServe(":"+*networkPort, http.FileServer(http.Dir(filepath.Dir(*sketchPath))))
// find my ip if not specified
// find my IP if not specified
ip := getMyIP(net.ParseIP(*networkAddress))
url := "http://" + ip.String() + ":" + *networkPort + "/" + filepath.Base(*sketchPath)
sketchData = bytes.NewBufferString(url)
Expand Down Expand Up @@ -219,7 +219,7 @@ func main() {
resp, err := httpClient.Post(httpheader+*networkAddress+":"+*networkPort+*resetEndpoint, "", nil)
if err != nil {
if *verbose {
fmt.Println("Failed to reset the board, please reset maually")
fmt.Println("Failed to reset the board, please reset manually")
}
os.Exit(0)
}
Expand Down

0 comments on commit 1eba144

Please sign in to comment.