From ea53713580a6fbdb5c5ef1958d6ecc0110d4b01a Mon Sep 17 00:00:00 2001 From: "maxim.karban@gmail.com" Date: Wed, 25 Apr 2012 12:21:38 +0000 Subject: [PATCH] Another one workaround about soft_power_off function, same as in unstable branch --- src/open9x.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/open9x.cpp b/src/open9x.cpp index 4f20e2071..35f7f9111 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -2626,6 +2626,7 @@ int main(void) #if defined(PCBARM) || defined(PCBV4) //never return from main() - there is no code to return back, if any daelays occurs in physical power it does dead loop. + wdt_disable(); for(;;){} #endif