void _ps_handler(int argc, char **argv) { (void) argc; (void) argv; thread_print_all(); }
int main(void) { int radio_pid; uint8_t i; for (i = 0; i < SND_BUFFER_SIZE; i++) { memset(snd_buffer[i], i, CC1100_MAX_DATA_LENGTH); } thread_create(shell_stack_buffer, SHELL_STACK_SIZE, PRIORITY_MAIN-2, CREATE_STACKTEST, shell_runner, "shell"); radio_pid = thread_create(radio_stack_buffer, RADIO_STACK_SIZE, PRIORITY_MAIN-2, CREATE_STACKTEST, radio, "radio"); transceiver_init(TRANSCEIVER_CC1100); transceiver_start(); transceiver_register(TRANSCEIVER_CC1100, radio_pid); sender(NULL); printf("Config:\n"); printf("\tid: %u\n", sysconfig.id); printf("\taddr: %u\n", sysconfig.radio_address); printf("\tchannel: %u\n", sysconfig.radio_channel); while (1) { extern void thread_print_all(void); thread_print_all(); print_buffer(NULL); hwtimer_wait(50000); } }
void _ps_handler(char *unused) { (void) unused; thread_print_all(); }
void _ps_handler(char *unnused) { thread_print_all(); }