X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fmware%2Fmessages.c;fp=bertos%2Fmware%2Fmessages.c;h=52c720c4a6721fab865c9c281aaea00e38bd462e;hb=e774ce65644075ed4f102a151a4e38db350b48d0;hp=0000000000000000000000000000000000000000;hpb=52e3ef495747fbf882c1d64ac1b55cb13034f509;p=bertos.git diff --git a/bertos/mware/messages.c b/bertos/mware/messages.c new file mode 100644 index 00000000..52c720c4 --- /dev/null +++ b/bertos/mware/messages.c @@ -0,0 +1,67 @@ +/** + * \file + * + * + * \brief Messages for LCD. + * + * \version $Id$ + * + * \author Bernie Innocenti + * \author Stefano Fedrigo + */ + +#include "messages.h" + +/** + * Array of pointers to localized strings. Should be filled + * by localization stuff, but not for now. + */ +const char *msg_strings[MSG_COUNT] = { + 0, + // TODO: add your strings here +}; + +/* Buffer for catalog file */ +/* char msg_buf[MSG_BUFSIZE]; */ + + +/* The following does not work (move string tables into the DMSG/CMSG segments) + * #pragma memory=dataseg(DMSG) + * #pragma memory=constseg(CMSG) + */ + + +/** + * Untranslated constant strings used more than once are + * grouped here to save ROM space. + */ +const char str_empty[] = ""; +