mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
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 <mircea.bardac@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
19bcbc7c42
commit
945a6d4828
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Author: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
* Author: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
||||||
* Copyright (c) 2014 Intel Corporation.
|
* Copyright (c) 2014 Intel Corporation.
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Author: Jon Trulson <jtrulson@ics.com>
|
* Author: Jon Trulson <jtrulson@ics.com>
|
||||||
* Copyright (c) 2015 Intel Corporation.
|
* Copyright (c) 2015 Intel Corporation.
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com>
|
* Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com>
|
||||||
* Copyright (c) 2014 Intel Corporation.
|
* Copyright (c) 2014 Intel Corporation.
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com>
|
* Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com>
|
||||||
* Copyright (c) 2014 Intel Corporation.
|
* Copyright (c) 2014 Intel Corporation.
|
||||||
*
|
*
|
||||||
|
@ -130,7 +130,7 @@
|
|||||||
|
|
||||||
namespace upm {
|
namespace upm {
|
||||||
|
|
||||||
union accelData {
|
typedef union {
|
||||||
struct {
|
struct {
|
||||||
unsigned char x_lsb;
|
unsigned char x_lsb;
|
||||||
unsigned char x_msb;
|
unsigned char x_msb;
|
||||||
@ -145,7 +145,7 @@ union accelData {
|
|||||||
short y;
|
short y;
|
||||||
short z;
|
short z;
|
||||||
} value;
|
} value;
|
||||||
};
|
} accelData;
|
||||||
|
|
||||||
#define BIT(n) (1<<n)
|
#define BIT(n) (1<<n)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user