File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -38,23 +38,16 @@ func main() {
3838 if fi .IFD .Region .FlashRegions [r ].Valid () {
3939 offset := fi .IFD .Region .FlashRegions [r ].BaseOffset ()
4040 size := fi .IFD .Region .FlashRegions [r ].EndOffset () - offset
41- fmt .Printf ("%-5s offset %x size %x\n " , r , offset , size )
41+ fmt .Printf ("%-9s offset %x size %x\n " , r , offset , size )
4242 } else {
43- fmt .Printf ("%-5s region not found: %s \n " , r , err )
43+ fmt .Printf ("%-9s region not found/invalid \n " , r )
4444 }
4545 }
4646 }
4747
48- /*
49- for _, r := range fi.IFD.Region.FlashRegions {
50- fmt.Printf(" %#v\n", r)
51- }
52- */
53-
54- doJson := false
55-
5648 fmt .Printf ("\n == FIT ==\n " )
5749 table , err := fit .GetTable (data )
50+ doJson := false
5851 if doJson {
5952 j , err := json .MarshalIndent (table , "" , " " )
6053 if err != nil {
You can’t perform that action at this time.
0 commit comments