Minor cleanup.

This commit is contained in:
root
2013-09-06 09:00:36 +00:00
parent 2d33a35a6c
commit 1a36288d00
2 changed files with 4 additions and 4 deletions
@@ -41,7 +41,7 @@ void setup() // run once, when the sketch starts
uint8_t i = 0;
void loop() // run over and over again
{
unsigned long start = 0;
static unsigned long start = 0;
unsigned long end;
for (int row = 0; row < DISPLAY_ROWS; row++)
@@ -46,13 +46,13 @@ void setup() // run once, when the sketch starts
/* ----------------------------------------------------------------- */
/** MAIN program Loop
*/
static const char test[]="HELLO WORLD! ";
void loop() // run over and over again
{
const char test[]="HELLO WORLD! ";
for (int8_t x=DISPLAY_COLS, i=0;;) {
for (int8_t x=DISPLAY_COLS, i=0;; x--) {
LedSign::Clear();
x--;
for (int8_t x2=x, i2=i; x2<DISPLAY_COLS;) {
int8_t w = Font::Draw(test[i2], x2, 0);
x2 += w, i2 = (i2+1)%strlen(test);