BMOSP/modules/helloworld/main.c

15 lines
325 B
C
Raw Normal View History

2023-10-15 18:44:29 +03:00
#include <system.h>
static const char name[] = "Привет мир!";
static const char message[] = "Привет из модуля!";
2023-10-15 18:44:29 +03:00
2023-10-29 16:12:00 +03:00
module_info_t init(env_t *env) {
init_env(env);
fb_printf("[%s]\n", message);
return (module_info_t){
.name = (char *)&name,
.message = (char *)&message,
.err_code = 2023,
};
}