Prep for C++ port

This commit is contained in:
Allen Hill
2026-06-23 18:29:49 -07:00
parent 12ddd3d3c0
commit 77ff4652fd
14 changed files with 84 additions and 43 deletions
+8 -3
View File
@@ -3,11 +3,14 @@
// Copyright (C) 2015 Allen Hill <allenofthehills@gmail.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef __COM232_H
#define __COM232_H
#pragma once
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void RS232_Init(void);
// Receive path. The RX ring is private to the driver; the app polls hasChar()
@@ -28,4 +31,6 @@ void RS232_PrintHex(uint16_t x);
void RS232_PrintDec(uint8_t Data);
void RS232_PrintDec2(uint8_t Data);
#endif // __COM232_H
#ifdef __cplusplus
}
#endif