diff --git a/src/adxl345/adxl345.h b/src/adxl345/adxl345.h index d4bef923..f5d74ce1 100644 --- a/src/adxl345/adxl345.h +++ b/src/adxl345/adxl345.h @@ -1,4 +1,4 @@ -/* +/* * Author: Mihai Tudor Panu * Copyright (c) 2014 Intel Corporation. * diff --git a/src/grovescam/grovescam.h b/src/grovescam/grovescam.h index 6d8680e8..34b4e6f8 100644 --- a/src/grovescam/grovescam.h +++ b/src/grovescam/grovescam.h @@ -1,4 +1,4 @@ -/* +/* * Author: Jon Trulson * Copyright (c) 2015 Intel Corporation. * diff --git a/src/lcd/ssd1308.h b/src/lcd/ssd1308.h index 2c3212d9..025f0c90 100644 --- a/src/lcd/ssd1308.h +++ b/src/lcd/ssd1308.h @@ -1,4 +1,4 @@ -/* +/* * Author: Yevgeniy Kiveisha * Copyright (c) 2014 Intel Corporation. * diff --git a/src/lcd/ssd1327.h b/src/lcd/ssd1327.h index 8f2b3ec9..b545a8ba 100644 --- a/src/lcd/ssd1327.h +++ b/src/lcd/ssd1327.h @@ -1,4 +1,4 @@ -/* +/* * Author: Yevgeniy Kiveisha * Copyright (c) 2014 Intel Corporation. * diff --git a/src/mma7455/mma7455.h b/src/mma7455/mma7455.h index a9738217..49fd4dab 100644 --- a/src/mma7455/mma7455.h +++ b/src/mma7455/mma7455.h @@ -130,7 +130,7 @@ namespace upm { -union accelData { +typedef union { struct { unsigned char x_lsb; unsigned char x_msb; @@ -145,7 +145,7 @@ union accelData { short y; short z; } value; -}; +} accelData; #define BIT(n) (1<