mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
neutrino: fix console output to signalize timer wakeups
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: dc78eaf018
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-09 (Thu, 09 Nov 2017)
Origin message was:
------------------
- neutrino: fix console output to signalize timer wakeups
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2177,7 +2177,6 @@ void wake_up(bool &wakeup)
|
||||
wakeup = ((wk.source == FP_WAKEUP_SOURCE_TIMER) /* || (wk.source == WAKEUP_SOURCE_PWLOST)*/);
|
||||
close(fd);
|
||||
}
|
||||
printf("[timerd] wakeup from standby: %s\n", wakeup ? "yes" : "no");
|
||||
#endif
|
||||
#if HAVE_ARM_HARDWARE
|
||||
FILE *f = fopen("/proc/stb/fp/was_timer_wakeup", "r");
|
||||
@@ -2196,6 +2195,7 @@ void wake_up(bool &wakeup)
|
||||
wakeup = 1;
|
||||
unlink("/tmp/.timer_wakeup");
|
||||
}
|
||||
printf("[timerd] wakeup from standby: %s\n", wakeup ? "yes" : "no");
|
||||
|
||||
if(!wakeup){
|
||||
puts("[neutrino.cpp] executing " NEUTRINO_LEAVE_DEEPSTANDBY_SCRIPT ".");
|
||||
|
Reference in New Issue
Block a user