Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317561
b: refs/heads/master
c: 1d633fd
h: refs/heads/master
i:
  317559: d19688e
v: v3
  • Loading branch information
Peter Meerwald authored and Greg Kroah-Hartman committed Jun 26, 2012
1 parent a4d3105 commit 376d712
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fa6173a0be1844ccea58afb2247f71abab1e53c5
refs/heads/master: 1d633fd153844c8e954b0b72789279bf588cd025
3 changes: 1 addition & 2 deletions trunk/drivers/staging/iio/Documentation/generic_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ void print2byte(int input, struct iio_channel_info *info)
val &= (1 << info->bits_used) - 1;
val = (int16_t)(val << (16 - info->bits_used)) >>
(16 - info->bits_used);
printf("%05f ", val,
(float)(val + info->offset)*info->scale);
printf("%05f ", ((float)val + info->offset)*info->scale);
} else {
uint16_t val = input;
val &= (1 << info->bits_used) - 1;
Expand Down

0 comments on commit 376d712

Please sign in to comment.