Skip to content

Commit 9affe05

Browse files
committed
0.3.0
xQueueSend() -> xQueueSendToBack() xQueueSendFromISR() -> xQueueSendToBackFromISR()
1 parent bffa680 commit 9affe05

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
## Brought to you by:
22
[![Quantum Leaps](https://www.state-machine.com/attachments/logo_ql_400.png)](https://www.state-machine.com)
3+
<hr>
34

4-
--------------------------------------------------------------------------
5-
![FreeACT](img/FreeACT.png)
5+
<p align="center"><img src="img/FreeACT.png"/></p>
66

77
- [What is it?](#what-is-it)
88
- [Directories and Files](#directories-and-files)
@@ -13,7 +13,7 @@
1313

1414
# What is it?
1515
"FreeACT" is a minimal real-time embedded framework (RTEF) based on the
16-
FreeRTOS kernel. FreeACT implemetns the Active Object (a.k.a. Actor) design pattern.
16+
FreeRTOS kernel. FreeACT implements the Active Object (a.k.a. Actor) design pattern.
1717

1818
This presentation explaining "FreeACT" is available on YouTube in the following playlist:
1919

@@ -37,7 +37,7 @@ FreeACT/
3737
| +---nucleo-h743zi/ - low-level code to support the STM32 NUCLEO-H743ZI board
3838
|
3939
+---examples/
40-
| +---blinky_button/ - Blinky-Button exammple with FreeAct
40+
| +---blinky_button/ - Blinky-Button exammple with FreeACT
4141
| | +---armclang/ - projects for ARM/KEIL with "compiler 6" (armclang)
4242
| | | efm32pg1b.uvprojx - project for EFM32PG1B (Pearl Gecko) board
4343
| | | ek-tm4c123gxl.uvprojx - project for EK-TM4C123GX (TivaC LaunchPad) board
@@ -66,22 +66,22 @@ The examples are provided for the following embedded boards:
6666
- **STM32 NUCLEO-H743ZI** (ARM Cortex-M7 with double-precision FPU)
6767
<p align="center"><img src="img/bd-NUCLEO-H743ZI.png"/></p>
6868

69-
- other boards comong in the future...
69+
- other boards coming in the future...
7070

7171
# Licensing
7272
FreeACT is [licensed](LICENSE.txt) under the MIT open source license, which is the same
7373
used in FreeRTOS.
7474

7575

7676
# Invitation to Collaborate
77-
**This project welcomes collaboration!** Please help to improve FreeAct,
77+
**This project welcomes collaboration!** Please help to improve FreeACT,
7878
port it to other processors, integrate it with other embedded software,
7979
add interesting examples, etc. To avoid fragmentation, this repository is
80-
intended to remain the home of SST. To contribute, please clone, fork,
80+
intended to remain the home of FreeACT. To contribute, please clone, fork,
8181
and submit **pull requests** to incorporate your changes.
8282

8383

8484
# How to Help this Project?
8585
If you like this project, please give it a star (in the upper-right corner of your browser window):
8686

87-
![GitHub star](img/github-star.jpg)
87+
<p align="center"><img src="img/github-star.jpg"/></p>

src/FreeAct.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,16 @@ void Active_start(Active * const me,
9494

9595
/*..........................................................................*/
9696
void Active_post(Active * const me, Event const * const e) {
97-
BaseType_t status = xQueueSend(me->queue, (void *)&e, (TickType_t)0);
97+
BaseType_t status = xQueueSendToBack(me->queue, (void *)&e, (TickType_t)0);
9898
configASSERT(status == pdTRUE);
9999
}
100100

101101
/*..........................................................................*/
102102
void Active_postFromISR(Active * const me, Event const * const e,
103103
BaseType_t *pxHigherPriorityTaskWoken)
104104
{
105-
BaseType_t status = xQueueSendFromISR(me->queue, (void *)&e,
106-
pxHigherPriorityTaskWoken);
105+
BaseType_t status = xQueueSendToBackFromISR(me->queue, (void *)&e,
106+
pxHigherPriorityTaskWoken);
107107
configASSERT(status == pdTRUE);
108108
}
109109

0 commit comments

Comments
 (0)