comparison Output/uartOut/arm/uart_serial.h @ 341:66eccdd9ced5

Code cleanup - Changing header file ifndef define to pragma once's - Removed duplicate output_com.h's
author Jacob Alexander <haata@kiibohd.com>
date Sun, 14 Jun 2015 13:56:56 -0700
parents aeac00164f2e
children
comparison
equal deleted inserted replaced
340:e8841d3c6db5 341:66eccdd9ced5
1 /* Copyright (C) 2014 by Jacob Alexander 1 /* Copyright (C) 2014-2015 by Jacob Alexander
2 * 2 *
3 * Permission is hereby granted, free of charge, to any person obtaining a copy 3 * Permission is hereby granted, free of charge, to any person obtaining a copy
4 * of this software and associated documentation files (the "Software"), to deal 4 * of this software and associated documentation files (the "Software"), to deal
5 * in the Software without restriction, including without limitation the rights 5 * in the Software without restriction, including without limitation the rights
6 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 6 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 17 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 18 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 * THE SOFTWARE. 19 * THE SOFTWARE.
20 */ 20 */
21 21
22 #ifndef __uart_serial_h_ 22 #pragma once
23 #define __uart_serial_h_
24 23
25 #include <inttypes.h> 24 #include <inttypes.h>
26 25
27 int uart_serial_getchar(); 26 int uart_serial_getchar();
28 int uart_serial_available(); 27 int uart_serial_available();
34 33
35 void uart_serial_setup(); 34 void uart_serial_setup();
36 35
37 void uart_device_reload(); 36 void uart_device_reload();
38 37
39 #endif // __uart_serial_h_
40