diff options
Diffstat (limited to 'microbbs.c')
-rw-r--r-- | microbbs.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -6,6 +6,8 @@ #include "motd.h" #include "libterm/term.h" +#include "ini.h" + int main( int argc, char **argv ) { int ret_len; @@ -60,7 +62,12 @@ int main( int argc, char **argv ) #ifdef CONFIG_TODO printf("T(o)do "); #endif - printf("(Q)uit (S)ysinfo Mesa(G)es: "); + + #ifdef CONFIG_MESSAGING + printf("Mesa(G)es "); + #endif + + printf("(Q)uit (S)ysinfo: "); ret_len = getline( &str, &str_size, stdin ); if ( ret_len > 0) { @@ -112,12 +119,14 @@ int main( int argc, char **argv ) break; #endif + #ifndef CONFIG_MESSAGING case 'g': case 'G': { printf("Messages\n"); } break; + #endif //------------------------------------------------------------------ #ifdef CONFIG_BOARD |