From 07a8f4c2913c5777826a965ebdb855212a7de159 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Tue, 1 May 2012 19:42:43 +0200 Subject: [PATCH] neutrino: 'standby after inactivity' *only* on Tripledragon Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/3041a680b5380345438e17bdcdcf88af68c9fa8d Author: Stefan Seyfried Date: 2012-05-01 (Tue, 01 May 2012) --- src/neutrino.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 0b32f881d..c6c4adb85 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2754,12 +2754,11 @@ _repeat: return messages_return::handled; } else { - if (cs_get_revision() == 1) - { - /* TD has no FP for real shutdown -> do standby instead */ - standbyMode(true); - return messages_return::handled; - } +#if HAVE_TRIPLEDRAGON + /* TD has no FP for real shutdown -> do standby instead */ + standbyMode(true); + return messages_return::handled; +#endif printf("NeutrinoMessages::SLEEPTIMER: shutdown\n"); ExitRun(true, (cs_get_revision() > 7)); }