added documentation to main.c
This commit is contained in:
parent
4f30e6308d
commit
667f985d30
12
src/main.c
12
src/main.c
|
@ -4,13 +4,23 @@
|
|||
|
||||
#define LOG_LEVEL LOG_LEVEL_DEBUG
|
||||
|
||||
/**
|
||||
* @brief Log a debug message to inform about beginning exit procedures
|
||||
*
|
||||
*/
|
||||
void notify_exit(void)
|
||||
{
|
||||
DEBUG("Exiting gemstone...");
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Run compiler setup here
|
||||
*
|
||||
*/
|
||||
void setup(void)
|
||||
{
|
||||
// setup preample
|
||||
|
||||
log_init();
|
||||
DEBUG("starting gemstone...");
|
||||
|
||||
|
@ -18,6 +28,8 @@ void setup(void)
|
|||
atexit(¬ify_exit);
|
||||
#endif
|
||||
|
||||
// actual setup
|
||||
|
||||
DEBUG("finished starting up gemstone...");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue