1 2 3 4 5 6 7
#pragma once #include <stdio.h> #include <sys/io.h> template <UART port> FILE *uart_init(); template <> FILE *uart_init<COM1>();