mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 11:39:58 +02:00
[ion] Share the Ion::Power::suspend stub
Change-Id: I6a278547a5b5d5caec796ad53e88bca706cbcad3
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "apps_container.h"
|
||||
#include <ion.h>
|
||||
extern "C" {
|
||||
#include <assert.h>
|
||||
}
|
||||
@@ -51,5 +52,8 @@ bool AppsContainer::handleEvent(Ion::Events::Event event) {
|
||||
switchTo(appAtIndex(0));
|
||||
return true;
|
||||
}
|
||||
if (event == Ion::Events::OnOff) {
|
||||
Ion::Power::suspend();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user