open-story-teller/software/system/system.h
2023-07-31 14:08:47 +02:00

25 lines
586 B
C

#ifndef SYSTEM_H
#define SYSTEM_H
#include <stdint.h>
// On regroupe ici au les priorités des différents threads afin d'avoir une vision plus large
#define HMI_TASK_PRIORITY 1
#define VM_TASK_PRIORITY 2
#define FS_TASK_PRIORITY 3 ///< High priority for audio / file system access
#define UUID_SIZE 36 // 32 + 4 dashes in string format
typedef struct
{
uint32_t number_of_stories;
uint32_t current_story;
uint32_t index_file_size;
char uuid[UUID_SIZE + 1]; // +1 for end of string zero marker
char *image;
char *sound;
} ost_context_t;
#endif // SYSTEM_H