proper compass layout

on non-blank data partitions you must do:
killall akmd
/data/misc/AK8973Prms.txt
reboot
This commit is contained in:
rajkosto 2010-09-29 18:44:15 +02:00
parent 71d0534681
commit 8c5e4eb32a

View File

@ -122,10 +122,10 @@
#define HTCLEO_GPIO_COMPASS_RST_N 107
#define HTCLEO_PROJECT_NAME "htcleo"
#define HTCLEO_LAYOUTS { \
{ {-1, 0, 0}, { 0, -1, 0}, {0, 0, 1} }, \
{ { 0, -1, 0}, { 1, 0, 0}, {0, 0, -1} }, \
{ { 0, -1, 0}, { 1, 0, 0}, {0, 0, 1} }, \
{ {-1, 0, 0}, { 0, 0, -1}, {0, 1, 0} } \
{ { 0, 1, 0}, { -1, 0, 0}, { 0, 0, 1} }, \
{ { 0, -1, 0}, { 1, 0, 0}, { 0, 0, -1} }, \
{ { -1, 0, 0}, { 0, -1, 0}, { 0, 0, 1} }, \
{ { -1, 0, 0}, { 0, 0, -1}, { 0, 1, 0} } \
}
/* Display */