Skip to content

Commit

Permalink
Merge pull request #3 from AlCutter/but_I_havent_got_one_of_those
Browse files Browse the repository at this point in the history
  • Loading branch information
abarisani authored Aug 25, 2023
2 parents f03d24b + ed607b8 commit 6aef8a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
package main

import (
"errors"
"log"

"github.com/usbarmory/tamago/soc/nxp/imx6ul"
Expand All @@ -32,6 +33,9 @@ func init() {
}

func detect(card *usdhc.USDHC) (err error) {
if card == nil {
return errors.New("no such device")
}
err = card.Detect()

if err != nil {
Expand Down

0 comments on commit 6aef8a1

Please sign in to comment.