Merged precommit branch

This commit is contained in:
Magnus Persson
2022-01-07 13:38:37 +01:00
parent 5612c0ce64
commit 1478430f03
15 changed files with 72 additions and 39 deletions

View File

@ -10,6 +10,17 @@ I use the following tools in order to build and manage the software:
* Git for Windows
* VSCode plugin: Minify (used to minimise the html files)
Code Formatting
===============
I use pre-commit and their cpp style checks to validate the code. Plugin defintions are found in **.pre-commit-config.yaml**
https://www.pre-commit.com
.. note::
There is not yet any automatic checks since this does not work on Windows. It works if running under WSL2 with Ubuntu.
Targets
=======
In the repository there are 3 targets defined

View File

@ -60,6 +60,8 @@ Experimental features
* Use the temperature sensor in the gyro instead of DS18B20
This works fine when the device has time to cool down between measurements and it saves a few milliseconds (reduced battery consumption). My testing shows that this is quite accurate.
There is lots of battery power to save, reading the temp sensor takes almost as long as the gyro. This could reduce the run time by 40-50% and probly extend battery life with the same.
However more testing is required. Might add this as an option in the UI.
.. note::