This commit is contained in:
Stavros Korokithakis 2020-11-20 21:33:25 +02:00
parent 3c6cc920fe
commit b9394c21bd
No known key found for this signature in database
GPG Key ID: 26EA345ECD4C2A63
2 changed files with 26 additions and 2 deletions

22
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,22 @@
repos:
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.3.5
hooks:
- id: reorder-python-imports
- repo: https://gitlab.com/pycqa/flake8
rev: '3.8.4'
hooks:
- id: flake8
args: ["--config=setup.cfg"]
language_version: python3
- repo: local
hooks:
- id: migrations-check
language: system
name: Export the notes.
entry: bash -c "./joplinexport.py"
pass_filenames: false

View File

@ -4,6 +4,8 @@ weight = 1
sort_by = "weight" sort_by = "weight"
insert_anchor_links = "right" insert_anchor_links = "right"
+++ +++
To isolate the servo 5V rail, remove this diode: To isolate the servo 5V rail from the controller's 5V power supply, remove this diode:
![a435bcae86912205b6fac41731285b8d.png](../../6d668e05d8a54580966b94a752f3b7db.png) ![a435bcae86912205b6fac41731285b8d.png](../../6d668e05d8a54580966b94a752f3b7db.png)
Now the servos' 5V rail can be powered from another 5V supply to avoid servo current backflow into the FC.