diff options
| author | Bernard Xiong <[email protected]> | 2017-07-20 18:01:46 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-07-20 18:01:46 +0800 |
| commit | 5148b9ff270c8368d31fbb1f7573337dfa9f8747 (patch) | |
| tree | a3f68fb2b86285aa7cdf8d4671e4e5fb144049f6 /components | |
| parent | c3c3503dc3fac56f0e58d2753fca1581653a8835 (diff) | |
| parent | 2c1ee84347adf34c7381c5fcd05097cee4d68f3f (diff) | |
Merge pull request #766 from AubrCool/fix-stm32f10x.wdt
[BSP] stm32f10x add watchdog driver
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/include/drivers/watchdog.h | 2 |
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; |
