mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
ODroid go: use full MAC address prefix
Otherwise it's way too easy to conflict with other boards.
This commit is contained in:
@@ -108,8 +108,7 @@ print("(x,y,z): ", sensor.get_xyz())
|
||||
|
||||
# TODO:
|
||||
# - battery
|
||||
# - IMU
|
||||
# - vibrator
|
||||
# - real IMU driver (instead of proof-of-concept above)
|
||||
# - GPS
|
||||
# - LoRa
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ def detect_board():
|
||||
return "lilygo_t_display_s3" # display gets confused by the i2c stuff below
|
||||
|
||||
print("odroid_go ?")
|
||||
if unique_id_prefixes[0] == 0x30:
|
||||
if unique_id_prefixes == b'\x30\xae\xa4':
|
||||
return "odroid_go"
|
||||
|
||||
print("fri3d_2026 ?")
|
||||
|
||||
Reference in New Issue
Block a user