doc: fix typos in a few docs

Found a few spelling issues while reading the documentation.
Corrections are provided.

Signed-off-by: Christoph Sax <c_sax@mailbox.org>
This commit is contained in:
Christoph Sax 2017-11-04 15:56:53 +01:00 committed by Anas Nashif
commit 591ba2c7ba
2 changed files with 2 additions and 2 deletions

View file

@ -272,7 +272,7 @@ executed. Any driver will specify one of five initialization levels:
``PRE_KERNEL_1``
Used for devices that have no dependencies, such as those that rely
solely on hardware present in the processor/SOC. These devices cannot
use any kernel services during configuration, since the services are
use any kernel services during configuration, since the kernel services are
not yet available. The interrupt subsystem will be configured however
so it's OK to set up interrupts. Init functions at this level run on the
interrupt stack.

View file

@ -34,7 +34,7 @@ A message queue must be initialized before it can be used.
This sets its ring buffer to empty.
A data item can be **sent** to a message queue by a thread or an ISR.
The data item a pointed at by the sending thread is copied to a waiting thread,
The data item pointed at by the sending thread is copied to a waiting thread,
if one exists; otherwise the item is copied to the message queue's ring buffer,
if space is available. In either case, the size of the data area being sent
*must* equal the message queue's data item size.