Mercurial > public > ostc4
changeset 624:930f1bbe0ac2
Development bugfix: Marker in standard t3 view drawn in wrong direction
author | Ideenmodellierer |
---|---|
date | Sun, 07 Feb 2021 22:05:32 +0100 |
parents | ba83a8ef9bad |
children | 028d8f3a9410 |
files | Discovery/Src/t3.c |
diffstat | 1 files changed, 3 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/Discovery/Src/t3.c Sun Feb 07 22:04:43 2021 +0100 +++ b/Discovery/Src/t3.c Sun Feb 07 22:05:32 2021 +0100 @@ -204,16 +204,9 @@ { windowWidth = window->right - window->left; - if(!settingsGetPointer()->FlipDisplay) - { - start.y = 479 - BigFontSeperationTopBottom + 5; - stop.y = 479 - 5; - } - else - { - start.y = 479 - BigFontSeperationTopBottom - 5; - stop.y =5; - } + start.y = 479 - BigFontSeperationTopBottom - 5; + stop.y =5; + while((line <= windowWidth) && (dataIndex < datalength)) { factor = (10 * line * (long)datalength)/windowWidth;