diff --git a/src/kii/ui/components/flash.cljs b/src/kii/ui/components/flash.cljs index 474f1cc..ea521bb 100644 --- a/src/kii/ui/components/flash.cljs +++ b/src/kii/ui/components/flash.cljs @@ -28,20 +28,22 @@ (defn flash-firmware [] - (r/with-let [dfu-path (r/atom (if ((.-sync command-exists) "dfu-util") "dfu-util" "")) + (r/with-let [loaded? (r/atom false) + dfu-path (r/atom (if ((.-sync command-exists) "dfu-util") "dfu-util" "")) bin-file (r/atom "") flashing? (r/atom false) progress (r/atom "") status (r/atom :none)] ;; TODO - Read this in on start... - (go - (if-let [cfg-val (