Revert "remove debugging code"

This reverts commit e498ab2815.
This commit is contained in:
Stefan `Sec` Zehl 2011-08-04 00:27:05 +02:00
parent 9124a186b9
commit 6de83a0b6f
1 changed files with 22 additions and 0 deletions

View File

@ -149,3 +149,25 @@ void init_flame(void) {
} }
} }
#include "lcd/print.h"
//# MENU debug ChkFlame
void ChkFlame(void) {
do{
lcdClear();
lcdPrint("Enabled:");
lcdPrintln(IntToStr(flameEnabled,1,0));
lcdPrint("State:");
lcdPrintln(IntToStr(flameMode,1,0));
lcdPrint("PWMtarg:");
lcdPrintln(IntToStr(flameI2Cpwm,3,0));
lcdPrint("FTicks:");
lcdPrintln(IntToStr(flameTicks,3,0));
lcdRefresh();
delayms_queue(10);
} while ((getInputRaw())==BTN_NONE);
}