diff options
Diffstat (limited to 'os/hal/src')
-rw-r--r-- | os/hal/src/hal_queues.c | 8 | ||||
-rw-r--r-- | os/hal/src/serial.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/os/hal/src/hal_queues.c b/os/hal/src/hal_queues.c index 5a4465652..71330854e 100644 --- a/os/hal/src/hal_queues.c +++ b/os/hal/src/hal_queues.c @@ -59,8 +59,8 @@ *
* @init
*/
-void iqInit(InputQueue *iqp, uint8_t *bp, size_t size, qnotify_t infy,
- void *link) {
+void iqObjectInit(InputQueue *iqp, uint8_t *bp, size_t size,
+ qnotify_t infy, void *link) {
osalQueueObjectInit(&iqp->q_waiting);
iqp->q_counter = 0;
@@ -237,8 +237,8 @@ size_t iqReadTimeout(InputQueue *iqp, uint8_t *bp, *
* @init
*/
-void oqInit(OutputQueue *oqp, uint8_t *bp, size_t size, qnotify_t onfy,
- void *link) {
+void oqObjectInit(OutputQueue *oqp, uint8_t *bp, size_t size,
+ qnotify_t onfy, void *link) {
osalQueueObjectInit(&oqp->q_waiting);
oqp->q_counter = size;
diff --git a/os/hal/src/serial.c b/os/hal/src/serial.c index 73a0b7457..0b9d5b41d 100644 --- a/os/hal/src/serial.c +++ b/os/hal/src/serial.c @@ -134,8 +134,8 @@ void sdObjectInit(SerialDriver *sdp, qnotify_t inotify, qnotify_t onotify) { sdp->vmt = &vmt;
osalEventObjectInit(&sdp->event);
sdp->state = SD_STOP;
- iqInit(&sdp->iqueue, sdp->ib, SERIAL_BUFFERS_SIZE, inotify, sdp);
- oqInit(&sdp->oqueue, sdp->ob, SERIAL_BUFFERS_SIZE, onotify, sdp);
+ iqObjectInit(&sdp->iqueue, sdp->ib, SERIAL_BUFFERS_SIZE, inotify, sdp);
+ oqObjectInit(&sdp->oqueue, sdp->ob, SERIAL_BUFFERS_SIZE, onotify, sdp);
}
/**
|