From b9394c21bd4ca2d89ac54a2b82a3b82e1b3f91b3 Mon Sep 17 00:00:00 2001 From: Stavros Korokithakis Date: Fri, 20 Nov 2020 21:33:25 +0200 Subject: [PATCH] Updates --- .pre-commit-config.yaml | 22 +++++++++++++++++++ .../drone-stuff/omnibus-f4-pro-servo-diode.md | 6 +++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..f0287ab --- /dev/null +++ b/.pre-commit-config.yaml @@ -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 diff --git a/content/drone-stuff/omnibus-f4-pro-servo-diode.md b/content/drone-stuff/omnibus-f4-pro-servo-diode.md index 4d3aad2..e888338 100644 --- a/content/drone-stuff/omnibus-f4-pro-servo-diode.md +++ b/content/drone-stuff/omnibus-f4-pro-servo-diode.md @@ -4,6 +4,8 @@ weight = 1 sort_by = "weight" 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) \ No newline at end of file +![a435bcae86912205b6fac41731285b8d.png](../../6d668e05d8a54580966b94a752f3b7db.png) + +Now the servos' 5V rail can be powered from another 5V supply to avoid servo current backflow into the FC. \ No newline at end of file