View Single Post
Old 06-13-2015, 11:37 PM   #71 (permalink)
bobski
EcoModding Apprentice
 
Join Date: Jan 2010
Location: Newark, DE
Posts: 143

'91 CRX - '91 Honda CRX DX
90 day: 34.91 mpg (US)
Thanks: 0
Thanked 14 Times in 14 Posts
Wow. It's missing the next led page button function. :/
Replace the primaryButtonFunctions declaration up near the top with this:
Code:
const fptype primaryButtonFunctions [numPrimaryPages] [numPrimaryButtons] = { {&buttonVoidAction, &buttonVoidAction, &buttonVoidAction, &buttonLEDNextPage, &buttonPrimaryNextPage},
                                                                              {&buttonVoidAction, &buttonResetInjCumulative, &buttonVoidAction, &buttonLEDNextPage, &buttonPrimaryNextPage},
                                                                              {&buttonVoidAction, &buttonResetVssPulseCount, &buttonVoidAction, &buttonLEDNextPage, &buttonPrimaryNextPage} };

and put this in with the button press functions:
Code:
void buttonLEDNextPage()
{
  currentLEDPage++;
  if(currentLEDPage >= numLEDpages) {currentLEDPage = 0;}
}

  Reply With Quote