mirror of
https://github.com/halleysfifthinc/AVCLAN-Mockingboard.git
synced 2026-08-23 22:12:54 +00:00
Prep for C++ port
This commit is contained in:
+8
-3
@@ -1,8 +1,11 @@
|
||||
// Copyright (C) 2026 Allen Hill <allenofthehills@gmail.com>
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#ifndef BOARD_H
|
||||
#define BOARD_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Clock setup + GPIO/pin configuration. Call once, first thing at startup
|
||||
// (before any peripheral init).
|
||||
@@ -11,4 +14,6 @@ void board_init(void);
|
||||
// Globally enable interrupts. Call after all peripherals are initialized.
|
||||
void board_interruptsEnable(void);
|
||||
|
||||
#endif // BOARD_H
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user