Fixed regression but unsure of cause
This commit is contained in:
parent
a37d738138
commit
9f14c28646
|
@ -15,13 +15,16 @@
|
|||
* along with stage0. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include<stdlib.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <stdint.h>
|
||||
|
||||
int main (int argc, char *argv[])
|
||||
int main ()
|
||||
{
|
||||
char output[2] = {};
|
||||
char output[3] = {0};
|
||||
/* {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'} */
|
||||
char table[16] = {0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46};
|
||||
char c;
|
||||
uint8_t c;
|
||||
int col = 40;
|
||||
int i = read(0, &c, 1);
|
||||
while( i > 0)
|
||||
|
|
Loading…
Reference in New Issue