zephyr/modules/hal_afbr/platform_print.c
Luis Ubieda f9d9e5bb6d modules: afbr: Add basic functionality
- Add AFBR module as a HAL.
- Platform layer to support running AFBR API using Zephyr.
- Ability to instantiate on device-tree.
- Samples in the module proving foundations works.
- Zephyr Sensor API support, by introducing:
    - Read/Decode for SENSOR_CHAN_DISTANCE (1-D results).
    - Streaming mode for DATA_READY (1-D results).

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-05-28 21:29:13 +02:00

22 lines
361 B
C

/*
* Copyright (c) 2025 Croxel Inc.
* Copyright (c) 2025 CogniPilot Foundation
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <platform/argus_print.h>
#include <api/argus_status.h>
#include <zephyr/kernel.h>
status_t print(const char *fmt_s, ...)
{
va_list args;
va_start(args, fmt_s);
vprintk(fmt_s, args);
va_end(args);
return STATUS_OK;
}