kawal547 / open9x

Automatically exported from code.google.com/p/open9x
0 stars 0 forks source link

Long button press just after startup is detected as short one #102

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This little behaviour is not critical but i've been trapped with it many time 
when powering up the radio and wanted to immediately change the model.

To make it happen: Power the radio and within less than 2 seconds press "RIGHT" 
key. Instead of making the model menu appear you will have the result of a 
short key press (for example, servo bar screen navigation)

I don't remember facing this behavior with er9x or ersky9x.

Original issue reported on code.google.com by baptiste...@gadz.org on 20 Aug 2012 at 4:46

GoogleCodeExporter commented 8 years ago
I just tested this on my G9X v4.2 board, running open9x-r1195 and was unable to 
reproduce the fault I'm afraid. I tried it on several different main views. In 
all cases, performing a [RIGHT long] key press as soon as the display was up 
did enter the model selection menu straight away, first time, every time.

Can you think of any other variables that might be involved in your case?

Original comment by gru...@gmail.com on 21 Aug 2012 at 1:26

GoogleCodeExporter commented 8 years ago
Thanks for your answer.

I forgot to tell that i was using an ersky9x board on my radio 
(open9x-arm-r1217)

I tried to put the default companion9x empty eeprom on it to see if the 
behaviour changes, unfortunately not.

So the bug may be related to the ARM version ? It is 100% reproducible, so if 
necessary i can make a small video to show it (no need to be quick on the 
button after startup)

Note that if i activate the splascreen and press [RIGHT long] after startup, 
the splashcreen is kind of pausing till i stop pressing the key (not an issue, 
just to tell).
And after that if i perform a [RIGHT long] within a second nothing happened 
until i stop pressing it, then the [RIGHT short] event is performed.

Original comment by baptiste...@gadz.org on 21 Aug 2012 at 1:41

GoogleCodeExporter commented 8 years ago
Ah, OK. I'll reassign this one to bsongis then, since I do not have an ARM 
board to test.

Original comment by gru...@gmail.com on 21 Aug 2012 at 1:43

GoogleCodeExporter commented 8 years ago

Original comment by bson...@gmail.com on 21 Aug 2012 at 8:54

GoogleCodeExporter commented 8 years ago
Thanks Bertrand, i confirm its OK now.
Now, there is an almost black screen with noise before initialisation, is it 
normal ?

Original comment by baptiste...@gadz.org on 22 Aug 2012 at 7:32