From 945a6d4828a8efaef8312aa24fce1c9d6af2b1d2 Mon Sep 17 00:00:00 2001 From: Andrei Vasiliu Date: Thu, 20 Aug 2015 10:18:54 +0300 Subject: [PATCH] java: code cleanup to enable comment parsing with external tools. Using an external code parsing library we discovered that there are non-printable characters in some source files which break the parser. This commit removes these characters and rewrites a type definition which was also breaking the parser. Signed-off-by: Mircea Bardac Signed-off-by: Mihai Tudor Panu --- src/adxl345/adxl345.h | 2 +- src/grovescam/grovescam.h | 2 +- src/lcd/ssd1308.h | 2 +- src/lcd/ssd1327.h | 2 +- src/mma7455/mma7455.h | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) 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<