We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbe3614 commit 4b8e847Copy full SHA for 4b8e847
1 file changed
cmds/intelana/main.go
@@ -38,23 +38,16 @@ func main() {
38
if fi.IFD.Region.FlashRegions[r].Valid() {
39
offset := fi.IFD.Region.FlashRegions[r].BaseOffset()
40
size := fi.IFD.Region.FlashRegions[r].EndOffset() - offset
41
- fmt.Printf("%-5s offset %x size %x\n", r, offset, size)
+ fmt.Printf("%-9s offset %x size %x\n", r, offset, size)
42
} else {
43
- fmt.Printf("%-5s region not found: %s\n", r, err)
+ fmt.Printf("%-9s region not found/invalid\n", r)
44
}
45
46
47
48
- /*
49
- for _, r := range fi.IFD.Region.FlashRegions {
50
- fmt.Printf(" %#v\n", r)
51
- }
52
- */
53
-
54
- doJson := false
55
56
fmt.Printf("\n== FIT ==\n")
57
table, err := fit.GetTable(data)
+ doJson := false
58
if doJson {
59
j, err := json.MarshalIndent(table, "", " ")
60
if err != nil {
0 commit comments