View Single Post
Old 09-28-2013, 01:01 PM   #104 (permalink)
t vago
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,808

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 831
Thanked 709 Times in 457 Posts
Code:
		if (!(timerStatus & tsButtonsUp)) { // see if any buttons were pressed, display a brief message if so

			j = buttonState;
			timerStatus |= tsButtonsUp; // reset keypress flag

			bpPtr = (PGM_P)pgm_read_word(&buttonPressAdrList[(unsigned int)(menuLevel)]);

			while (true) {

				i = pgm_read_byte(bpPtr++);

				if ((i == buttonsUp) || (j == i)) break;

				bpPtr++;

			}

			gotoXY(0, 0);
			if (j != buttonsUp) callFuncPointer((char *)(bpPtr)); // go perform action

		}
This is near the end of the code. The boldfaced things are the things that need changed.
  Reply With Quote
The Following User Says Thank You to t vago For This Useful Post:
Ardent (09-29-2013)