mirror of https://github.com/sqfmi/Watchy.git
commit
2319591449
|
@ -583,11 +583,12 @@ void Watchy::_bmaConfig(){
|
|||
|
||||
struct bma423_axes_remap remap_data;
|
||||
remap_data.x_axis = 1;
|
||||
remap_data.x_axis_sign = 0;
|
||||
remap_data.x_axis_sign = 0xFF;
|
||||
remap_data.y_axis = 0;
|
||||
remap_data.y_axis_sign = 0;
|
||||
remap_data.z_axis = 2;
|
||||
remap_data.z_axis_sign = 0;
|
||||
remap_data.y_axis_sign = 0xFF;
|
||||
remap_data.z_axis = 2;
|
||||
remap_data.z_axis_sign = 0xFF;
|
||||
|
||||
// Need to raise the wrist function, need to set the correct axis
|
||||
sensor.setRemapAxes(&remap_data);
|
||||
|
||||
|
@ -803,4 +804,4 @@ void Watchy::updateFWBegin(){
|
|||
|
||||
// time_t t = makeTime(tm);
|
||||
// return t + FUDGE; //add fudge factor to allow for compile time
|
||||
// }
|
||||
// }
|
||||
|
|
Loading…
Reference in New Issue