diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..89cc49c --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.pio +.vscode/.browse.c_cpp.db* +.vscode/c_cpp_properties.json +.vscode/launch.json +.vscode/ipch diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..080e70d --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + // See http://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "platformio.platformio-ide" + ], + "unwantedRecommendations": [ + "ms-vscode.cpptools-extension-pack" + ] +} diff --git a/library.json b/library.json index c9ebfcb..203cc6c 100644 --- a/library.json +++ b/library.json @@ -10,7 +10,7 @@ "type": "git", "url": "https://github.com/m5stack/M5StickC-Plus.git" }, - "version": "0.0.9", + "version": "0.1.0", "frameworks": "arduino", "platforms": "espressif32", "headers": "M5StickCPlus.h" diff --git a/library.properties b/library.properties index e3947c0..6a30433 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=M5StickCPlus -version=0.0.9 +version=0.1.0 author=M5Stack maintainer=M5Stack sentence=Library for M5StickC Plus development kit @@ -8,4 +8,4 @@ category=Device Control url=https://github.com/m5stack/M5StickC-Plus.git architectures=esp32 includes=M5StickCPlus.h -depends=M5Family,M5Hat-8Servos,M5_JoyC,M5-RoverC \ No newline at end of file +depends=M5Family,M5Hat-8Servos,M5Hat-JoyC,M5-RoverC \ No newline at end of file diff --git a/src/Fonts/glcdfont.c b/src/Fonts/glcdfont.c index 2771af1..0303023 100644 --- a/src/Fonts/glcdfont.c +++ b/src/Fonts/glcdfont.c @@ -7,7 +7,7 @@ // Standard ASCII 5x7 font -static const unsigned char font[] PROGMEM = { +const unsigned char font[] PROGMEM = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x5B, 0x4F, 0x5B, 0x3E, 0x3E, 0x6B, 0x4F, 0x6B, 0x3E, 0x1C, 0x3E, 0x7C, 0x3E, 0x1C, 0x18, 0x3C, 0x7E, 0x3C, 0x18, 0x1C, 0x57, 0x7D, 0x57, 0x1C, 0x1C, 0x5E, 0x7F, 0x5E, 0x1C, 0x00, diff --git a/src/utility/MPU6886.cpp b/src/utility/MPU6886.cpp index ddd8527..ae1dcac 100644 --- a/src/utility/MPU6886.cpp +++ b/src/utility/MPU6886.cpp @@ -386,7 +386,6 @@ void MPU6886::disableFIFO(void) { int MPU6886::getFIFOData(int16_t databuf[]) { uint8_t buf[14]; - uint8_t i; I2C_Read_NBytes(MPU6886_ADDRESS, MPU6886_FIFO_R_W, 14, buf); // Burst read 14 byte sensor data sample array @@ -408,7 +407,6 @@ int MPU6886::getFIFOData(int16_t databuf[]) { int MPU6886::getFIFOData(int16_t* ax, int16_t* ay, int16_t* az, int16_t* gx, int16_t* gy, int16_t* gz, int16_t* t) { uint8_t buf[14]; - uint8_t i; I2C_Read_NBytes(MPU6886_ADDRESS, MPU6886_FIFO_R_W, 14, buf); // Burst read 14 byte sensor data sample array