summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver/touchpad_elan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/touchpad_elan.c b/driver/touchpad_elan.c
index d8bf402ea4..d876c76fb9 100644
--- a/driver/touchpad_elan.c
+++ b/driver/touchpad_elan.c
@@ -18,6 +18,7 @@
#include "util.h"
#include "usb_api.h"
#include "usb_hid_touchpad.h"
+#include "watchdog.h"
/* Console output macros */
#define CPUTS(outstr) cputs(CC_TOUCHPAD, outstr)
@@ -541,6 +542,7 @@ int touchpad_update_write(int offset, int size, const uint8_t *data)
if (rv)
return rv;
CPRINTS("%s: page %d updated.", __func__, addr / FW_PAGE_SIZE);
+ watchdog_reload();
}
if (offset + size == FW_SIZE) {