Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
card-access-system
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bc. Petr Elexa
card-access-system
Commits
3887ffb8
Commit
3887ffb8
authored
Jan 21, 2020
by
Bc. Petr Elexa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
panel: inline WDG refresh
parent
f885dc8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
watchdog.c
cardreader/bsp/watchdog.c
+0
-6
watchdog.h
cardreader/bsp/watchdog.h
+5
-1
No files found.
cardreader/bsp/watchdog.c
View file @
3887ffb8
...
...
@@ -33,7 +33,6 @@
*/
#include "watchdog.h"
#include "board.h"
/*****************************************************************************
...
...
@@ -96,8 +95,3 @@ void WDT_Init(uint8_t timeout)
/* Start watchdog */
Chip_WWDT_Start
(
LPC_WWDT
);
}
void
WDT_Feed
(
void
)
{
Chip_WWDT_Feed
(
LPC_WWDT
);
}
cardreader/bsp/watchdog.h
View file @
3887ffb8
...
...
@@ -11,6 +11,7 @@
#define BSP_WATCHDOG_H_
#include <stdint.h>
#include "board.h"
/**
* @brief Watchdog timer interrupt handler.
...
...
@@ -35,6 +36,9 @@ void WDT_Init(uint8_t timeout);
* @brief Feed watchdog timer.
*
*/
void
WDT_Feed
(
void
);
static
inline
void
WDT_Feed
(
void
)
{
Chip_WWDT_Feed
(
LPC_WWDT
);
}
#endif
/* BSP_WATCHDOG_H_ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment