Move ao_match_word from ao_ignite.c to ao_cmd.c
[fw/altos] / src / ao_ignite.c
index 8206e342ef2f5c119a41ddb1420d1531f7d7522e..981cf0ce1299413a8f520c79b127aa424500a0b6 100644 (file)
@@ -121,20 +121,6 @@ ao_igniter(void)
        }
 }
 
-static uint8_t
-ao_match_word(__code char *word)
-{
-       while (*word) {
-               if (ao_cmd_lex_c != *word) {
-                       ao_cmd_status = ao_cmd_syntax_error;
-                       return 0;
-               }
-               word++;
-               ao_cmd_lex();
-       }
-       return 1;
-}
-
 void
 ao_ignite_manual(void)
 {