Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
canbus
CTU CAN FD IP Core
Commits
b99f7ac2
Commit
b99f7ac2
authored
Sep 11, 2018
by
Ille, Ondrej, Ing.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug-fix, indixes swapped.
parent
042b5e89
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test/lib/CANtestLib.vhd
test/lib/CANtestLib.vhd
+2
-2
No files found.
test/lib/CANtestLib.vhd
View file @
b99f7ac2
...
...
@@ -3157,10 +3157,10 @@ package body CANtestLib is
-- Wait until unit starts to transmitt or recieve
while
(
true
)
loop
CAN_read
(
r_data
,
MODE_ADR
,
ID
,
mem_bus
);
if
(
exit_trans
and
r_data
(
R
S_IND
)
=
'1'
)
then
if
(
exit_trans
and
r_data
(
T
S_IND
)
=
'1'
)
then
exit
;
end
if
;
if
(
exit_rec
and
r_data
(
T
S_IND
)
=
'1'
)
then
if
(
exit_rec
and
r_data
(
R
S_IND
)
=
'1'
)
then
exit
;
end
if
;
end
loop
;
...
...
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