Zerocat Chipflasher  v0.4.3 (board-edition-1)
Flash free firmware to BIOS chips, kick the Manageability Engine.
putChar.c
Go to the documentation of this file.
1 /******************************************************************/
34 #include "putChar.h"
35 
36 /*
37  * @file putChar.c
38  * Function to print a char to the default terminal.
39  * If c is \n, append \r.
40  *
41  * Copyright (c) 2013, Parallax Inc.
42  * Written by Steve Denson
43  */
44 //~ #include "simpletext.h"
45 
46 void putChar(char c)
47 {
48  extern text_t *dport_ptr;
49  //~ if(c == '\n')
50  //~ dport_ptr->txChar(dport_ptr, '\r');
51  dport_ptr->txChar(dport_ptr, c);
52 }
53 
54 /*
55 +--------------------------------------------------------------------
56 | TERMS OF USE: MIT License
57 +--------------------------------------------------------------------
58 Permission is hereby granted, free of charge, to any person obtaining
59 a copy of this software and associated documentation files
60 (the "Software"), to deal in the Software without restriction,
61 including without limitation the rights to use, copy, modify, merge,
62 publish, distribute, sublicense, and/or sell copies of the Software,
63 and to permit persons to whom the Software is furnished to do so,
64 subject to the following conditions:
65 
66 The above copyright notice and this permission notice shall be
67 included in all copies or substantial portions of the Software.
68 
69 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
70 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
71 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
72 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
73 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
74 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
75 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
76 +--------------------------------------------------------------------
77 */
78 
putChar
void putChar(char c)
Definition: putChar.c:46
putChar.h