Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
linux-elphel
Commits
b6edd8a4
Commit
b6edd8a4
authored
Apr 14, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong buffer size reporting
parent
04de3c63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
circbuf.c
src/drivers/elphel/circbuf.c
+1
-1
No files found.
src/drivers/elphel/circbuf.c
View file @
b6edd8a4
...
@@ -406,7 +406,7 @@ loff_t circbuf_lseek(struct file * file, loff_t offset, int orig) {
...
@@ -406,7 +406,7 @@ loff_t circbuf_lseek(struct file * file, loff_t offset, int orig) {
// orig 0: position from begning
// orig 0: position from begning
// orig 1: relative from current
// orig 1: relative from current
// orig 2: position from last address
// orig 2: position from last address
int
l
=
(
CCAM_DMA_SIZE
<<
2
)
;
int
l
=
CCAM_DMA_SIZE
;
int
fl
=
0
;
// frame length
int
fl
=
0
;
// frame length
struct
interframe_params_t
*
fp
;
struct
interframe_params_t
*
fp
;
int
fvld
=-
1
;
int
fvld
=-
1
;
...
...
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