@@ -447,7 +447,9 @@ class drvBase {
447447 @returns True if the sensor value was obtained successfully, False
448448 otherwise.
449449 */
450- virtual bool getEventMagneticField (sensors_event_t *magneticEvent) { return false ; }
450+ virtual bool getEventMagneticField (sensors_event_t *magneticEvent) {
451+ return false ;
452+ }
451453
452454 /* !
453455 @brief Gets a sensor's gravity vector value.
@@ -465,7 +467,9 @@ class drvBase {
465467 @returns True if the sensor value was obtained successfully, False
466468 otherwise.
467469 */
468- virtual bool getEventLinearAcceleration (sensors_event_t *linearAccelEvent) { return false ; }
470+ virtual bool getEventLinearAcceleration (sensors_event_t *linearAccelEvent) {
471+ return false ;
472+ }
469473
470474 /* !
471475 @brief Gets a sensor's rotation vector value.
@@ -474,7 +478,9 @@ class drvBase {
474478 @returns True if the sensor value was obtained successfully, False
475479 otherwise.
476480 */
477- virtual bool getEventRotationVector (sensors_event_t *rotationEvent) { return false ; }
481+ virtual bool getEventRotationVector (sensors_event_t *rotationEvent) {
482+ return false ;
483+ }
478484
479485 /* !
480486 @brief Gets a sensor's gyroscope value.
@@ -491,7 +497,9 @@ class drvBase {
491497 @returns True if the sensor value was obtained successfully, False
492498 otherwise.
493499 */
494- virtual bool getEventAccelerometer (sensors_event_t *accelEvent) { return false ; }
500+ virtual bool getEventAccelerometer (sensors_event_t *accelEvent) {
501+ return false ;
502+ }
495503
496504 /* !
497505 @brief Gets a sensor's orientation value.
@@ -500,7 +508,9 @@ class drvBase {
500508 @returns True if the sensor value was obtained successfully, False
501509 otherwise.
502510 */
503- virtual bool getEventOrientation (sensors_event_t *orientationEvent) { return false ; }
511+ virtual bool getEventOrientation (sensors_event_t *orientationEvent) {
512+ return false ;
513+ }
504514
505515 /* !
506516 @brief Gets a sensor's rotation vector value.
@@ -509,7 +519,9 @@ class drvBase {
509519 @returns True if the sensor value was obtained successfully, False
510520 otherwise.
511521 */
512- virtual bool getEventRotationVector (sensors_event_t *rotationEvent) { return false ; }
522+ virtual bool getEventRotationVector (sensors_event_t *rotationEvent) {
523+ return false ;
524+ }
513525
514526 /* !
515527 @brief Gets a sensor's Raw value.
@@ -764,8 +776,7 @@ class drvBase {
764776 {wippersnapper_sensor_SensorType_SENSOR_TYPE_ROTATION_VECTOR,
765777 [this ](sensors_event_t *event) -> bool {
766778 return this ->getEventRotationVector (event);
767- }}
768- }; // /< SensorType to function call map
779+ }}}; // /< SensorType to function call map
769780
770781 wippersnapper_sensor_SensorType
771782 _sensors[15 ]; // /< Sensors attached to the device.
0 commit comments