From fad3a0802ac7f43da5f7dcf68e369dc735de3ed2 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 2 Apr 2009 13:41:54 +0000 Subject: Documentation fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@864 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- docs/src/concepts.dox | 2 +- docs/src/interrupts.dox | 2 +- docs/src/saveram.dox | 3 ++- docs/src/timing.dox | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) (limited to 'docs/src') diff --git a/docs/src/concepts.dox b/docs/src/concepts.dox index cc768052e..725be9b52 100644 --- a/docs/src/concepts.dox +++ b/docs/src/concepts.dox @@ -34,7 +34,7 @@ * @section naming Naming Conventions * ChibiOS/RT APIs are all named following this convention: * @a ch\\\(). - * The possible groups are: @a Sys, @a Sch, @a Time @a VT, @a Thd, @a Sem, + * The possible groups are: @a Sys, @a Sch, @a Time, @a VT, @a Thd, @a Sem, * @a Mtx, @a Cond, @a Evt, @a Msg, @a IQ, @a OQ, @a HQ, @a FDD, @a HDD, * @a Dbg, @a Heap, @a Pool. * diff --git a/docs/src/interrupts.dox b/docs/src/interrupts.dox index 679eb8884..d2dfb70b5 100644 --- a/docs/src/interrupts.dox +++ b/docs/src/interrupts.dox @@ -20,7 +20,7 @@ /** * @page article_interrupts Writing interrupt handlers under ChibiOS/RT * @{ - * Since version 1.1.0 ChbiOS/RT offers a cross-platform system for writing + * Since version 1.1.0 ChibiOS/RT offers a cross-platform method for writing * interrupt handlers. Port-related and compiler-related details are * encapsulated within standard system macros.
* An interrupt handler assumes the following general form: diff --git a/docs/src/saveram.dox b/docs/src/saveram.dox index e237da909..7a1f6f662 100644 --- a/docs/src/saveram.dox +++ b/docs/src/saveram.dox @@ -71,7 +71,8 @@ static void MyThread(void *arg) { main() { chSysInit(); ... - chThdCreateStatic(waMyThread, sizeof(waMyThread), NORMALPRIO, MyThread, NULL); + chThdCreateStatic(waMyThread, sizeof(waMyThread), NORMALPRIO, + (tfunc_t)MyThread, NULL); ... } * @endcode diff --git a/docs/src/timing.dox b/docs/src/timing.dox index 7732bef0b..9e013c412 100644 --- a/docs/src/timing.dox +++ b/docs/src/timing.dox @@ -39,7 +39,7 @@ msg_t my_thread(void *param) { * executed at irregular intervals, as example:

* T0...T0+1000...T0+2002...T0+3002...T0+4005...etc.

* Also note that the error increases over time and this kind of behavior can - * lead anomalies really hard to debug. + * lead to anomalies really hard to debug. *

A better solution

* It is possible to rewrite the above code using absolute deadlines rather * than fixed intervals: -- cgit v1.2.3