#12 specifically get wireless modems

This commit is contained in:
Mikayla Fischler
2022-04-07 11:44:17 -04:00
parent 03f9284f30
commit b085baf91b
3 changed files with 89 additions and 37 deletions

View File

@@ -30,9 +30,10 @@ local linked = false
ppm.mount_all()
-- get modem
local modem = ppm.get_device("modem")
local modem = ppm.get_wireless_modem()
if modem == nil then
print("No modem found, exiting...")
println("boot> wireless modem not found")
log._warning("no wireless modem on startup")
return
end