From 5085f9737b62a7ce4a60ed73f43f801535ebe9f1 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 27 May 2019 13:52:21 +0200 Subject: Resume execution after power loss --- src/app/transactiontest/main.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/app/transactiontest/main.cc') diff --git a/src/app/transactiontest/main.cc b/src/app/transactiontest/main.cc index cb2d86e..d0ef9bf 100644 --- a/src/app/transactiontest/main.cc +++ b/src/app/transactiontest/main.cc @@ -42,10 +42,12 @@ int main(void) gpio.setup(); kout.setup(); - //restore_state(); gpio.led_on(0); gpio.input(GPIO::p4_5, 1); + + asm_load_all(); + kout << "Hello, World!" << endl; arch.idle_loop(); -- cgit v1.2.3