X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fmsg.h;h=32232c56e018d3e2d487bddfb318fc840a50a96c;hb=48a8ed29b2b8f3ef7dc6e9eb08280a68c762e2e2;hp=2d92f2e2c370b9da0204f1e6995c9ee925c35a3d;hpb=c506949d3112a6eacbbe05f98a5200c38de3b9b5;p=bertos.git diff --git a/bertos/kern/msg.h b/bertos/kern/msg.h index 2d92f2e2..32232c56 100644 --- a/bertos/kern/msg.h +++ b/bertos/kern/msg.h @@ -106,7 +106,7 @@ * } TestMsg; * * - * static cpu_stack_t sender_stack[CONFIG_KERN_MINSTACKSIZE / sizeof(cpu_stack_t)]; + * PROC_DEFINE_STACK(sender_stack, KERN_MINSTACKSIZE); * * // A process that sends two messages and waits for replies. * static void sender_proc(void)