From 9ffd406245824dd21705ac15025f211b783d1ebd Mon Sep 17 00:00:00 2001 From: xeonqq Date: Sun, 10 Sep 2023 16:44:21 +0200 Subject: [PATCH] Add doxygen enabler in README.rst --- Sming/Libraries/MPU6050/{README.md => README.rst} | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) rename Sming/Libraries/MPU6050/{README.md => README.rst} (74%) diff --git a/Sming/Libraries/MPU6050/README.md b/Sming/Libraries/MPU6050/README.rst similarity index 74% rename from Sming/Libraries/MPU6050/README.md rename to Sming/Libraries/MPU6050/README.rst index 68c01c3f30..cd6dd4bb30 100644 --- a/Sming/Libraries/MPU6050/README.md +++ b/Sming/Libraries/MPU6050/README.rst @@ -1,6 +1,11 @@ -# MPU6050 Six-Axis (Gyro + Accelerometer) +API Documentation +----------------- + +.. doxygenclass:: MPU6050 + :members: -Based on code from [jrowberg/i2cdevlib](https://github.com/jrowberg/i2cdevlib/tree/master/ESP32_ESP-IDF/components/MPU6050). Most of the code is the same, except: +# MPU6050 Six-Axis (Gyro + Accelerometer) +Based on code from [jrowberg/i2cdevlib](https://github.com/jrowberg/i2cdevlib/tree/master/ESP32_ESP-IDF/components/MPU6050) @ 605a740. Most of the code is the same, except: - Removed MPU6050::ReadRegister function due to incompatibility. It is also not used anywhere in the original code. - MPU6050_6Axis_MotionApps20.h and MPU6050_9Axis_MotionApps41.h are not included due to deps to freeRTOS. helper_3dmath.h is also not included since it is only used in the above mentioned files.