         :ok
 
       {false, firmware_hardware} when is_binary(firmware_hardware) ->
-        swap_transport(FarmbotCore.Asset.fbos_config(:firmware_path))
+        swap_transport(Asset.fbos_config(:firmware_path))
 
       {_, nil} ->
         FarmbotCore.Logger.warn(1, "firmware needs flashed- creating `firmware.missing` enigma")

  end

  def enigma_down(_) do
    swap_transport(FarmbotCore.Asset.fbos_config(:firmware_path))
    FarmbotCore.Config.update_config_value(:bool, "settings", "firmware_needs_flash", false)
  end

  defp swap_transport(tty) do

defmodule FarmbotOS.Init.EnigmaFirmwareMissing do
  alias FarmbotCore.{Asset, Asset.Private, Config}
  alias FarmbotCore.EnigmaHandler
  alias FarmbotFirmware.UARTTransport

