tests: aonc: skip counter stopping
Leave the aon counter in running state after the test. Arduino 101 loader assumes the counter is running. Stopping the counter will cause the next app to not start without a hard reset or power cycle. Jira: ZEP-961 Change-Id: Ia88f0c642b1df8dc5e2b1ee6c55ff0618b6127d0 Signed-off-by: Baohong Liu <baohong.liu@intel.com>
This commit is contained in:
parent
dbe30711fd
commit
c9e295932b
1 changed files with 7 additions and 1 deletions
|
@ -81,7 +81,13 @@ static void free_running_counter_example(void)
|
|||
"Always-on counter failed to increase "
|
||||
"during 500 loop");
|
||||
}
|
||||
counter_stop(aon_counter_dev);
|
||||
|
||||
/*
|
||||
* arduino 101 loader assumes the counter is running.
|
||||
* If the counter is stopped, the next app you flash in
|
||||
* can not start without a hard reset or power cycle.
|
||||
* Let's leave the counter in running state.
|
||||
*/
|
||||
}
|
||||
|
||||
static void periodic_timer_example(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue