adafruit / Adafruit_CircuitPython_AMG88xx

circuit python driver from AMG88xx GRID-EYE 8x8 IR sensor
MIT License
38 stars 26 forks source link

Update to new build process and turn on lint. #2

Closed tannewt closed 6 years ago

tannewt commented 6 years ago

I haven't tested these changes on device yet. Please only merge you test it or I follow up later to say its tested.

For https://github.com/adafruit/circuitpython/issues/475

tannewt commented 6 years ago

Just rebased.

tannewt commented 6 years ago

Great catch! I did intend on directly indexing. I wanted to pre-allocate to minimize the heap churn. With append we end up growing our allocation every few additions. The multiply can be smarter.

Should be fixed now but I didn't test it.

kattni commented 6 years ago

Tested successfully. Good work!