|
@@ -28,7 +28,7 @@ typedef struct {
|
|
|
} SoftwareWatchdog;
|
|
|
|
|
|
// return -1 on error
|
|
|
-int swd_setup(SoftwareWatchdog *watchdog, char *name, timeout_cb_t timeout_cb, struct timespec timeout, void *userData);
|
|
|
+int swd_setup(SoftwareWatchdog *watchdog, const char *name, timeout_cb_t timeout_cb, struct timespec timeout, void *userData);
|
|
|
int swd_enable(SoftwareWatchdog *watchdog);
|
|
|
void swd_disable(SoftwareWatchdog *watchdog);
|
|
|
void swd_kick(SoftwareWatchdog *watchdog);
|