File size: 273 Bytes
2e2e678
 
 
 
 
 
086b12f
 
2e2e678
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import io


def is_coral():
    try:
        with io.open('/sys/firmware/devicetree/base/model', 'r') as m:
            line = m.read().lower()
            if 'phanbell' in line or "coral" in line: return True
    except Exception: pass
    return False


ADS = is_coral()