[Horus] UI continued
This commit is contained in:
@@ -65,7 +65,7 @@ point_t getPoint(uint8_t i)
|
||||
|
||||
void DrawCurve(uint8_t offset=0)
|
||||
{
|
||||
DrawFunction(curveFn, offset);
|
||||
drawFunction(curveFn, offset);
|
||||
|
||||
uint8_t i = 0;
|
||||
do {
|
||||
|
||||
@@ -82,7 +82,7 @@ int16_t expoFn(int16_t x)
|
||||
return anas[ed->chn];
|
||||
}
|
||||
|
||||
void DrawFunction(FnFuncP fn, uint8_t offset)
|
||||
void drawFunction(FnFuncP fn, uint8_t offset)
|
||||
{
|
||||
lcdDrawVerticalLine(X0-offset, 0, LCD_H, 0xee);
|
||||
lcdDrawHorizontalLine(X0-WCHART-offset, Y0, WCHART*2, 0xee);
|
||||
@@ -368,7 +368,7 @@ void menuModelExpoOne(uint8_t event)
|
||||
y += FH;
|
||||
}
|
||||
|
||||
DrawFunction(expoFn);
|
||||
drawFunction(expoFn);
|
||||
|
||||
int16_t x512 = calibratedStick[ed->chn];
|
||||
lcd_outdezAtt(LCD_W-8, 6*FH, calcRESXto100(x512), 0);
|
||||
|
||||
@@ -460,6 +460,6 @@ void displayWarning(uint8_t event);
|
||||
#define EDIT_MODE_INIT -1
|
||||
|
||||
typedef int16_t (*FnFuncP) (int16_t x);
|
||||
void DrawFunction(FnFuncP fn, uint8_t offset=0);
|
||||
void drawFunction(FnFuncP fn, uint8_t offset=0);
|
||||
|
||||
#endif // _MENUS_H_
|
||||
|
||||
Reference in New Issue
Block a user