Ajout config CPU Watchdog dans la page des settings
This commit is contained in:
@@ -5,19 +5,27 @@
|
||||
#define CPU_DEFAULT_WATCHDOG_TIMEOUT 600 //10 minutes.
|
||||
#define CPU_LIBRARY_NAME "dtSBC87853x64"
|
||||
|
||||
class CCPUWatchdogConfig;
|
||||
|
||||
class CComputerBoardInterface
|
||||
{
|
||||
public:
|
||||
CComputerBoardInterface();
|
||||
int Init();
|
||||
int DeInit();
|
||||
int StartCPUWatchdog(int TimeoutInSeconds = CPU_DEFAULT_WATCHDOG_TIMEOUT); //Timeout in seconds
|
||||
int StartCPUWatchdog(/*int TimeoutInSeconds = CPU_DEFAULT_WATCHDOG_TIMEOUT*/); //Timeout in seconds
|
||||
int StopCPUWatchdog();
|
||||
int KickCPUWatchdog();
|
||||
|
||||
|
||||
int SetWatchdogSettings(CCPUWatchdogConfig *Settings);
|
||||
|
||||
private:
|
||||
int LoadLibrary();
|
||||
int UnloadLibrary();
|
||||
|
||||
int mWatchdogTimeout;
|
||||
bool mWatchdogEnabled;
|
||||
};
|
||||
|
||||
#endif // COMPUTERBOARDINTERFACE_H
|
||||
|
||||
Reference in New Issue
Block a user