summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorAubr.Cool <[email protected]>2017-07-14 13:55:19 +0800
committerAubr.Cool <[email protected]>2017-07-20 11:56:21 +0800
commit2c1ee84347adf34c7381c5fcd05097cee4d68f3f (patch)
tree8ef1ee708d8f3070790c9fa2ac56a63c59e39403 /components
parent6ab027677b6ff69f5fe1b93d0e55957b36487dd1 (diff)
BSP stm32f10x add watchdog driver
Diffstat (limited to 'components')
-rw-r--r--components/drivers/include/drivers/watchdog.h2
1 files changed, 1 insertions, 1 deletions
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;