simondlevy / USFS

Cross-platform libraries for the EM7180 Ultimate Sensor Fusion Solution
GNU General Public License v3.0
30 stars 11 forks source link

compile error in FullTest.ino, include <stdint.h> in EM7180.h to fix #3

Closed aksell closed 6 years ago

aksell commented 6 years ago

Error when compiling

After cloning the repo in to my sketchbook/lib i tried compiling FullTest.ino in the arduino IDE. I got the error "/sketchbook/libraries/EM7180/EM7180.h:28:32: error: uint8_t has not been declared static bool hasFeature(uint8_t features);" .

Fix

To fix the problem i had to put

#include <stdint.h>

In EM7180.h

simondlevy commented 6 years ago

Thanks, askell. I've added this fix.