🔧 修改一些编译相关的宏

This commit is contained in:
fslongjin 2022-01-24 23:11:10 +08:00
parent 4c438ce64d
commit a632e72ed3
2 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,5 @@
#ifndef __FONT_H__
#define __FONT_H__
#pragma once
unsigned char font_ascii[256][16]=
{
@ -316,5 +315,4 @@ unsigned char font_ascii[256][16]=
};
#endif

View File

@ -2,8 +2,7 @@
// Created by longjin on 2022/1/21.
//
#pragma once
#ifndef PRINTK_H
#define PRINTK_H
#define PAD_ZERO 1 // 0填充
#define LEFT 2 // 靠左对齐
@ -121,4 +120,3 @@ static void putchar(unsigned int *fb, int Xsize, int x, int y, unsigned int FRco
int printk_color(unsigned int FRcolor, unsigned int BKcolor, const char*fmt, ...);
#endif