From 9138c60af74f7f868691aebb00a6dbc4a723edf0 Mon Sep 17 00:00:00 2001 From: Marcelo Roberto Jimenez Date: Sat, 17 Feb 2018 11:00:56 -0200 Subject: [PATCH] Fixes an ISO-8859-1 vs UTF-8 issue Files should be enconded with UTF-8, ISO-8859-1 and variants are outdated. This patch fixes an issue with the degree sign, which was coded in ISO-8859-1 rather than UTF-8. --- Adafruit_Sensor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 Adafruit_Sensor.h diff --git a/Adafruit_Sensor.h b/Adafruit_Sensor.h old mode 100644 new mode 100755 index 7742afc..fbd5639 --- a/Adafruit_Sensor.h +++ b/Adafruit_Sensor.h @@ -72,9 +72,9 @@ typedef struct { }; /* Orientation sensors */ struct { - float roll; /**< Rotation around the longitudinal axis (the plane body, 'X axis'). Roll is positive and increasing when moving downward. -90°<=roll<=90° */ - float pitch; /**< Rotation around the lateral axis (the wing span, 'Y axis'). Pitch is positive and increasing when moving upwards. -180°<=pitch<=180°) */ - float heading; /**< Angle between the longitudinal axis (the plane body) and magnetic north, measured clockwise when viewing from the top of the device. 0-359° */ + float roll; /**< Rotation around the longitudinal axis (the plane body, 'X axis'). Roll is positive and increasing when moving downward. -90°<=roll<=90° */ + float pitch; /**< Rotation around the lateral axis (the wing span, 'Y axis'). Pitch is positive and increasing when moving upwards. -180°<=pitch<=180°) */ + float heading; /**< Angle between the longitudinal axis (the plane body) and magnetic north, measured clockwise when viewing from the top of the device. 0-359° */ }; }; int8_t status;