mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Merge branch 'patch_v3.1.6' of https://github.com/betaflight/betaflight into patch_v3.1.6
This commit is contained in:
commit
edbadf4285
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ static void osdDrawSingleElement(uint8_t item)
|
|||
pitchAngle = (pitchAngle / 8) - 41; // 41 = 4 * 9 + 5
|
||||
|
||||
for (int8_t x = -4; x <= 4; x++) {
|
||||
int y = (rollAngle * x) / 64;
|
||||
int y = (-rollAngle * x) / 64;
|
||||
y -= pitchAngle;
|
||||
// y += 41; // == 4 * 9 + 5
|
||||
if (y >= 0 && y <= 81) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue