From 2c1ee84347adf34c7381c5fcd05097cee4d68f3f Mon Sep 17 00:00:00 2001 From: "Aubr.Cool" Date: Fri, 14 Jul 2017 13:55:19 +0800 Subject: BSP stm32f10x add watchdog driver --- components/drivers/include/drivers/watchdog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components') diff --git a/components/drivers/include/drivers/watchdog.h b/components/drivers/include/drivers/watchdog.h index 15ae5a1f44..5c74dc82be 100644 --- a/components/drivers/include/drivers/watchdog.h +++ b/components/drivers/include/drivers/watchdog.h @@ -38,7 +38,7 @@ struct rt_watchdog_ops; struct rt_watchdog_device { struct rt_device parent; - struct rt_watchdog_ops *ops; + const struct rt_watchdog_ops *ops; }; typedef struct rt_watchdog_device rt_watchdog_t; -- cgit v1.3.1