2023-10-15 18:44:29 +03:00
|
|
|
#include <system.h>
|
|
|
|
|
2023-10-29 18:41:54 +03:00
|
|
|
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) {
|
2023-10-29 18:41:54 +03:00
|
|
|
init_env(env);
|
|
|
|
fb_printf("[%s]\n", message);
|
2023-11-07 22:34:26 +03:00
|
|
|
return (module_info_t){
|
|
|
|
.name = (char *)&name,
|
|
|
|
.message = (char *)&message,
|
|
|
|
.err_code = 2023,
|
|
|
|
};
|
2023-10-23 09:16:16 +03:00
|
|
|
}
|