We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c393c4 commit 3089dd4Copy full SHA for 3089dd4
src/github.com/arduino-libraries/WiFi101-FirmwareUpdater/cli/main/winc1500-uploader.go
@@ -91,14 +91,14 @@ func main() {
91
log.Fatalf("Programmer reports %d as maximum payload size (1024 is needed)", payloadSize)
92
}
93
94
- if rootCertDir != "" || len(addresses) != 0 {
95
- if err := flashCerts(); err != nil {
+ if firmwareFile != "" {
+ if err := flashFirmware(); err != nil {
96
log.Fatal(err)
97
98
99
100
- if firmwareFile != "" {
101
- if err := flashFirmware(); err != nil {
+ if rootCertDir != "" || len(addresses) != 0 {
+ if err := flashCerts(); err != nil {
102
103
104
0 commit comments