From e0ef049f78967bbbe7e7637928f9138c6bc4113c Mon Sep 17 00:00:00 2001 From: Philipp Borgers Date: Thu, 4 Jun 2015 09:30:48 +0200 Subject: [PATCH] sixlowapp: rename thread related constants The constants names changed in the past: https://github.com/RIOT-OS/RIOT/commit/426170b06439badf41818a58b37117aac26806a9 --- sixlowapp/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sixlowapp/main.c b/sixlowapp/main.c index 5f47dacf15..2b36c3087d 100644 --- a/sixlowapp/main.c +++ b/sixlowapp/main.c @@ -28,8 +28,8 @@ kernel_pid_t sixlowapp_udp_server_pid = KERNEL_PID_UNDEF; char addr_str[IPV6_MAX_ADDR_STR_LEN]; -char monitor_stack_buffer[KERNEL_CONF_STACKSIZE_MAIN]; -char udp_server_stack_buffer[KERNEL_CONF_STACKSIZE_MAIN]; +char monitor_stack_buffer[THREAD_STACKSIZE_MAIN]; +char udp_server_stack_buffer[THREAD_STACKSIZE_MAIN]; const shell_command_t shell_commands[] = { {"ping", "Send an ICMPv6 echo request to another node", sixlowapp_send_ping}, @@ -46,7 +46,7 @@ int main(void) /* start thread for monitor mode */ kernel_pid_t monitor_pid = thread_create(monitor_stack_buffer, sizeof(monitor_stack_buffer), - PRIORITY_MAIN - 2, + THREAD_PRIORITY_MAIN - 2, CREATE_STACKTEST, sixlowapp_monitor, NULL, "monitor"); @@ -56,7 +56,7 @@ int main(void) /* Start the UDP server thread */ sixlowapp_udp_server_pid = thread_create(udp_server_stack_buffer, sizeof(udp_server_stack_buffer), - PRIORITY_MAIN, CREATE_STACKTEST, + THREAD_PRIORITY_MAIN, CREATE_STACKTEST, sixlowapp_udp_server_loop, NULL, "UDP receiver");