mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-20 15:08:37 +03:00
Initial commit
This commit is contained in:
15
external/CMSIS_5/CMSIS/RTOS/Template/my_objects.h
vendored
Normal file
15
external/CMSIS_5/CMSIS/RTOS/Template/my_objects.h
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
#include "cmsis_os.h" // CMSIS RTOS header file
|
||||
|
||||
extern void thread_sample (void const *argument); // prototype
|
||||
|
||||
typedef struct a {
|
||||
char y[100];
|
||||
} a_element;
|
||||
|
||||
osThreadDef (thread_sample, osPriorityBelowNormal, 2, 100);
|
||||
|
||||
osPoolDef(MyPool, 10, struct a);
|
||||
osMessageQDef(MyMessage, 10, a_element *);
|
||||
osMailQDef(MyMail, 10, a_element);
|
||||
|
||||
|
Reference in New Issue
Block a user