   )
 
 (defn- init-state []
-   (log/info "first day"))
+   (log/info "first day")
+)
 
 (def DAY_CHECK_TIME_MILLIS 1000)
 
+; wake sleep state machine
 (defn main-function []
-    (bios/init-bios)
+  ;  (iolist/init-io)
 
     (if load-state?
       (load-state)

; along with this program.  If not, see <http://www.gnu.org/licenses/>.

(ns iyye.core
  (:require [iyye.iyye-bios :as bios]
            [iyye.resource :as resource]
            [clojure.tools.logging :as log]
    ;[clojure.core.async :as async :refer [thread]]
            ))

; wake sleep state machine

(def load-state? false)



          (resource/stop-night current-night)))))

; Start in a thread so that I can use REPL too
(defn -main []
  (-> (Thread. main-function) .start)
  (iolist/init-io))
