projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed EEPROM define (bug)
[hackover2013-badge-firmware.git]
/
project
/
commands
/
drawing
/
cmd_button.c
diff --git
a/project/commands/drawing/cmd_button.c
b/project/commands/drawing/cmd_button.c
index
98d376f
..
6dcd77c
100644
(file)
--- a/
project/commands/drawing/cmd_button.c
+++ b/
project/commands/drawing/cmd_button.c
@@
-44,10
+44,10
@@
#include "project/commands.h" // Generic helper functions
#ifdef CFG_TFTLCD
#include "project/commands.h" // Generic helper functions
#ifdef CFG_TFTLCD
- #include "drivers/
lcd
/tft/lcd.h"
- #include "drivers/
lcd
/tft/drawing.h"
- #include "drivers/
lcd
/tft/touchscreen.h"
- #include "drivers/
lcd
/tft/fonts/dejavusans9.h"
+ #include "drivers/
displays
/tft/lcd.h"
+ #include "drivers/
displays
/tft/drawing.h"
+ #include "drivers/
displays
/tft/touchscreen.h"
+ #include "drivers/
displays
/tft/fonts/dejavusans9.h"
/**************************************************************************/
/*!
/**************************************************************************/
/*!
@@
-76,7
+76,7
@@
void cmd_button(uint8_t argc, char **argv)
if (argc == 7)
{
// Render the button with no text
if (argc == 7)
{
// Render the button with no text
- drawButton(x, y, w, h, &dejaVuSans9ptFontInfo,
7,
(uint16_t)border, (uint16_t)fill, (uint16_t)font, NULL);
+ drawButton(x, y, w, h, &dejaVuSans9ptFontInfo, (uint16_t)border, (uint16_t)fill, (uint16_t)font, NULL);
}
else
{
}
else
{
@@
-93,7
+93,7
@@
void cmd_button(uint8_t argc, char **argv)
*data_ptr++ = '\0';
// Render the button with text
*data_ptr++ = '\0';
// Render the button with text
- drawButton(x, y, w, h, &dejaVuSans9ptFontInfo,
7,
(uint16_t)border, (uint16_t)fill, (uint16_t)font, (char *)&data);
+ drawButton(x, y, w, h, &dejaVuSans9ptFontInfo, (uint16_t)border, (uint16_t)fill, (uint16_t)font, (char *)&data);
}
}
}
}
This page took
0.02792 seconds
and
4
git commands to generate.