Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

RebootControl.cc

Go to the documentation of this file.
00001 #include "RebootControl.h"
00002 #ifdef PLATFORM_APERIOS
00003 #  include <OPENR/OPENRAPI.h>
00004 #endif
00005 
00006 ControlBase * RebootControl::doSelect()    {
00007 #ifdef PLATFORM_APERIOS
00008   OBootCondition bc(obcbBOOT_TIMER, 0, obcbttRELATIVE);
00009   OPENR::Shutdown(bc);
00010 #endif
00011   return NULL;
00012 }
00013 
00014 /*! @file
00015  * @brief Implements RebootControl, which causes the aibo to reboot (very short - one function separated out to limit recompile of the OPENR headers)
00016  * @author ejt (Creator)
00017  */
00018 

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:49 2016 by Doxygen 1.6.3