Skip to content

Commit

Permalink
Remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronRP committed Aug 1, 2024
1 parent b2d6065 commit 019cfb9
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions cmd/eeprom-programmer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,6 @@ func main() {
func runMain() error {
args := procArgs()

/*
parts := strings.Split(args.PCBVersion, ".")
if len(parts) != 3 {
return fmt.Errorf("invalid hardware version '%s'", args.PCBVersion)
}
major, err := strconv.ParseInt(parts[0], 10, 64)
if err != nil {
return err
}
minor, err := strconv.ParseInt(parts[1], 10, 64)
if err != nil {
return err
}
patch, err := strconv.ParseInt(parts[2], 10, 64)
if err != nil {
return err
}
*/

mainPcbVersion, err := eeprom.NewSemVer(args.MainPCBVersion)
if err != nil {
return err
Expand Down

0 comments on commit 019cfb9

Please sign in to comment.