mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-29 08:21:18 +01:00
Merge pull request #2591 from OlegHahm/doc_example_cleanup
Documentation and example cleanup
This commit is contained in:
commit
ad01da751a
@ -60,7 +60,7 @@ typedef struct msg {
|
||||
|
||||
|
||||
/**
|
||||
* @brief Send a message. (blocking)
|
||||
* @brief Send a message (blocking).
|
||||
*
|
||||
* This function sends a message to another thread. The ``msg_t`` structure has
|
||||
* to be allocated (e.g. on the stack) before calling the function and can be
|
||||
@ -81,7 +81,7 @@ int msg_send(msg_t *m, kernel_pid_t target_pid);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Send a message. (non-blocking)
|
||||
* @brief Send a message (non-blocking).
|
||||
*
|
||||
* This function sends a message to another thread. The ``msg_t`` structure has
|
||||
* to be allocated (e.g. on the stack) before calling the function and can be
|
||||
|
||||
@ -49,7 +49,7 @@
|
||||
|
||||
#define SND_BUFFER_SIZE (100)
|
||||
#define RCV_BUFFER_SIZE (64)
|
||||
#define RADIO_STACK_SIZE (KERNEL_CONF_STACKSIZE_DEFAULT)
|
||||
#define RADIO_STACK_SIZE (KERNEL_CONF_STACKSIZE_MAIN)
|
||||
|
||||
#ifdef MODULE_TRANSCEIVER
|
||||
|
||||
@ -111,7 +111,7 @@ void *radio(void *arg)
|
||||
puts("Transceiver buffer full");
|
||||
}
|
||||
else {
|
||||
puts("Unknown packet received");
|
||||
puts("Unknown message received");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -100,7 +100,7 @@ int vtimer_usleep(uint32_t us);
|
||||
int vtimer_sleep(timex_t time);
|
||||
|
||||
/**
|
||||
* @brief set a vtimer with msg event handler of type @ref MSG_TIMER
|
||||
* @brief set a vtimer with msg event handler of the specified type
|
||||
* @param[in] t pointer to preinitialised vtimer_t
|
||||
* @param[in] interval vtimer timex_t interval
|
||||
* @param[in] pid process id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user