athenad: add getNetworkType (#19517)

old-commit-hash: 7a121862a8b68173e48a1b9b4838c960564e7cad
This commit is contained in:
Greg Hogan
2020-12-15 23:25:52 -08:00
committed by GitHub
parent ed5f1fe79c
commit 120858b241
+5
View File
@@ -221,6 +221,11 @@ def getSimInfo():
return HARDWARE.get_sim_info()
@dispatcher.add_method
def getNetworkType():
return HARDWARE.get_network_type()
@dispatcher.add_method
def takeSnapshot():
from selfdrive.camerad.snapshot.snapshot import snapshot, jpeg_write