Mercurial > public > ostc4
comparison Discovery/Src/settings.c @ 151:a98f91cca107 FlipDisplay
Bugfix ButtonResponsiveness
| author | Ideenmodellierer |
|---|---|
| date | Sun, 03 Mar 2019 12:16:54 +0100 |
| parents | 5c0f80e6b37a |
| children | c659fda83e44 |
comparison
equal
deleted
inserted
replaced
| 150:097d7146b779 | 151:a98f91cca107 |
|---|---|
| 1053 { | 1053 { |
| 1054 Settings.ButtonResponsiveness[3] = MIN_BUTTONRESPONSIVENESS_GUI; | 1054 Settings.ButtonResponsiveness[3] = MIN_BUTTONRESPONSIVENESS_GUI; |
| 1055 corrections++; | 1055 corrections++; |
| 1056 } | 1056 } |
| 1057 else | 1057 else |
| 1058 if(Settings.ButtonResponsiveness[3] > MIN_BUTTONRESPONSIVENESS_GUI) | 1058 if(Settings.ButtonResponsiveness[3] > MAX_BUTTONRESPONSIVENESS_GUI) |
| 1059 { | 1059 { |
| 1060 Settings.ButtonResponsiveness[3] = MIN_BUTTONRESPONSIVENESS; | 1060 Settings.ButtonResponsiveness[3] = MAX_BUTTONRESPONSIVENESS_GUI; |
| 1061 corrections++; | 1061 corrections++; |
| 1062 } | 1062 } |
| 1063 // flex values 0, 1, 2 | 1063 // flex values 0, 1, 2 |
| 1064 for(int i=0; i<3;i++) | 1064 for(int i=0; i<3;i++) |
| 1065 { | 1065 { |
