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
a1c9f73c
Commit
a1c9f73c
authored
Jan 13, 2020
by
Bc. Petr Elexa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
panel: reset on can bus off
parent
40d7ce87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
terminal.c
cardreader/app/terminal.c
+5
-2
No files found.
cardreader/app/terminal.c
View file @
a1c9f73c
...
...
@@ -112,8 +112,11 @@ static void _timer_callback(TimerHandle_t pxTimer)
void
term_can_error
(
uint32_t
error_info
)
{
(
void
)
error_info
;
/* TODO Process CAN bus errors. */
if
(
error_info
==
CAN_ERROR_BOFF
)
// if bus off do reset by WDG timeout
{
WDT_Feed
();
configASSERT
(
false
);
}
}
void
term_can_send
(
uint8_t
msg_obj_num
)
...
...
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