Skip to content

Commit fa29a28

Browse files
authored
fix programming bug
1 parent ab8f069 commit fa29a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/stm32CubeMX/stm32CubeMX.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ func WriteProjectFile(workDir string, params BridgeParamType) (string, error) {
400400
DnamePname = params.Device
401401
}
402402

403-
parts := strings.SplitN(DnamePname, ":", 2)
403+
parts = strings.SplitN(DnamePname, ":", 2)
404404
if len(parts) >= 1 {
405405
text.AddLine("load", parts[0])
406406
} else {

0 commit comments

Comments
 (0)