123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #include <device.h>
- #include <rbuf/rbuf_msg.h>
- #include <rbuf/rbuf_pool.h>
- static int my_pool_init(const struct device *arg)
- {
- ARG_UNUSED(arg);
- rbuf_pool_init((char*)RB_ST_POOL, RB_SZ_POOL);;
- return 0;
- }
- SYS_INIT(my_pool_init, PRE_KERNEL_1, 5);
|