superna9999 / pyfdt

Python Flattened Device Tree Parser
Apache License 2.0
43 stars 18 forks source link

Fix typical usage in README #12

Closed TheCodeArtist closed 7 years ago

TheCodeArtist commented 7 years ago

Update import statement in the typical usage shown in README.

Using the older import results in the following error: Traceback (most recent call last): File "./test-fdt.py", line 8, in dtb = pyfdt.FdtBlobParse(infile) AttributeError: 'module' object has no attribute 'FdtBlobParse'

TheCodeArtist commented 7 years ago

@superna9999 Is this PR ready to merge/close?

superna9999 commented 7 years ago

Yes it's ok, thanks !