Skip to content

Commit

Permalink
Merge pull request #51 from adafruit/tannewt-patch-2
Browse files Browse the repository at this point in the history
Remove backwards compatibile imports
  • Loading branch information
tannewt committed Jun 26, 2019
2 parents f5892e2 + 9a47941 commit bd7ddc6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions adafruit_lis3dh.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,9 @@

import time
import math
from collections import namedtuple
import struct
import digitalio
try:
from collections import namedtuple
except ImportError:
from ucollections import namedtuple
try:
import struct
except ImportError:
import ustruct as struct

from micropython import const

Expand Down

0 comments on commit bd7ddc6

Please sign in to comment.