Skip to content

Commit

Permalink
add temporary ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalten committed Jun 28, 2017
1 parent 0edda59 commit f15e532
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions userspace/surface.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,11 @@ struct surface_sensors {


// internal calibration for one row
//struct __attribute__((__packed__)) surface_row_calib {
#ifdef WIN32
struct surface_row_calib {

#else
struct __attribute__((__packed__)) surface_row_calib {
#endif
uint16_t calib[VIDEO_RES_X]; // MSB = black level, LSB = white level?

// fields below are only valid in first row, 0xFF otherwise
Expand Down

0 comments on commit f15e532

Please sign in to comment.