Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
dmt
Commits
74210194
Commit
74210194
authored
Sep 20, 2019
by
Tiago Jorge
Browse files
If max retries of reading 'done' flag are reached, log error and fallback to SW.
parent
057a8276
Changes
1
Hide whitespace changes
Inline
Side-by-side
dmt/B_mappers/brave_B_mapper.py
View file @
74210194
...
...
@@ -554,6 +554,10 @@ uint32_t count;
self
.
C_SourceFile
.
write
(
' }
\n
'
)
self
.
C_SourceFile
.
write
(
' LOGDEBUG(" - Read OK
\\
n");
\n
'
)
self
.
C_SourceFile
.
write
(
' }
\n
'
)
self
.
C_SourceFile
.
write
(
' if(!flag && count == RETRIES){
\n
'
)
self
.
C_SourceFile
.
write
(
' LOGERROR("Max Target read attempts reached.
\\
n");
\n
'
)
self
.
C_SourceFile
.
write
(
' return -1;
\n
'
)
self
.
C_SourceFile
.
write
(
' }
\n
'
)
self
.
C_SourceFile
.
write
(
' return 0;
\n
'
)
# pylint: disable=no-self-use
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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