summaryrefslogtreecommitdiffstats
path: root/libsensors/mlsdk/mllite/compass.h
diff options
context:
space:
mode:
authorKyle Repinski <repinski23@gmail.com>2015-12-08 03:42:06 -0600
committerZiyan <jaraidaniel@gmail.com>2016-01-17 22:41:00 +0100
commit279fa1241dec2d666d92eec566a6cabfc1ad9f86 (patch)
treee8160418ed6b283386074a816d969916f497ba21 /libsensors/mlsdk/mllite/compass.h
parent3f2cb86a83bd0bc394399b7cd52f3db5339dc2d9 (diff)
downloaddevice_samsung_tuna-279fa1241dec2d666d92eec566a6cabfc1ad9f86.zip
device_samsung_tuna-279fa1241dec2d666d92eec566a6cabfc1ad9f86.tar.gz
device_samsung_tuna-279fa1241dec2d666d92eec566a6cabfc1ad9f86.tar.bz2
libsensors: mlsdk: Remove lots of unused cruft.
This alone was enough to cut 16KB off of the mllite.so size.
Diffstat (limited to 'libsensors/mlsdk/mllite/compass.h')
-rw-r--r--libsensors/mlsdk/mllite/compass.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/libsensors/mlsdk/mllite/compass.h b/libsensors/mlsdk/mllite/compass.h
index f0bdb58..8c780ce 100644
--- a/libsensors/mlsdk/mllite/compass.h
+++ b/libsensors/mlsdk/mllite/compass.h
@@ -30,9 +30,6 @@ extern "C" {
#include "mltypes.h"
#include "mpu.h"
-#ifdef INV_INCLUDE_LEGACY_HEADERS
-#include "compass_legacy.h"
-#endif
/* ------------ */
/* - Defines. - */
/* ------------ */
@@ -74,14 +71,10 @@ typedef struct {
/* --------------------- */
unsigned char inv_compass_present(void);
- unsigned char inv_get_compass_slave_addr(void);
inv_error_t inv_get_compass_data(long *data);
inv_error_t inv_set_compass_bias(long *bias);
- unsigned short inv_get_compass_id(void);
inv_error_t inv_set_compass_offset(void);
inv_error_t inv_compass_check_range(void);
- inv_error_t inv_compass_write_reg(unsigned char reg, unsigned char val);
- inv_error_t inv_compass_read_reg(unsigned char reg, unsigned char *val);
inv_error_t inv_compass_read_scale(long *val);
int yas_filter_init(yas_filter_if_s *f);