Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Compact Universal Timing Endpoint based on White Rabbit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Compact Universal Timing Endpoint based on White Rabbit
Commits
872d91e3
Commit
872d91e3
authored
Nov 11, 2014
by
Qiang Du
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix eb-console.c with 1 BATCH_SIZE
parent
dffc800f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
eb-console.c
tools/eb-console.c
+2
-2
No files found.
tools/eb-console.c
View file @
872d91e3
...
...
@@ -39,7 +39,7 @@
#define VUART_TX 0x10
#define VUART_RX 0x14
#define STDIN_FD 0
#define BATCH_SIZE
200
#define BATCH_SIZE
1
const
char
*
program
;
...
...
@@ -152,7 +152,7 @@ int main(int argc, char** argv) {
/* be lazy and just poll for now */
busy
=
0
;
while
(
1
)
{
if
(
!
busy
)
usleep
(
100
00
);
/* 10
ms */
if
(
!
busy
)
usleep
(
100
);
/* 0.1
ms */
/* Poll for status */
eb_cycle_open
(
device
,
0
,
eb_block
,
&
cycle
);
...
...
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