made most internal function static to allow gcc to inline them

This commit is contained in:
Simen Svale Skogsrud
2011-02-19 23:03:10 +01:00
parent d21a791eae
commit 9c8c259153
4 changed files with 23 additions and 24 deletions

View File

@ -32,7 +32,7 @@
static char line[LINE_BUFFER_SIZE];
static uint8_t char_counter;
void status_message(int status_code) {
static void status_message(int status_code) {
if (status_code == 0) {
printPgmString(PSTR("ok\n\r"));
} else {