mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-10 03:56:49 +00:00
🔧 bux fix
This commit is contained in:
parent
ead838bffd
commit
278c35111f
@ -54,7 +54,7 @@ int init_printk(const int width, const int height, unsigned int *FB_address, con
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int set_printk_pos(const int x, const int y)
|
int set_printk_pos(const int x, const int y)
|
||||||
{
|
{
|
||||||
// 指定的坐标不在屏幕范围内
|
// 指定的坐标不在屏幕范围内
|
||||||
if (!((x >= 0 && x <= pos.max_x) && (y >= 0 && y <= pos.max_y)))
|
if (!((x >= 0 && x <= pos.max_x) && (y >= 0 && y <= pos.max_y)))
|
||||||
|
@ -72,7 +72,7 @@ int init_printk(const int width, const int height, unsigned int *FB_address, con
|
|||||||
* @param x 列坐标
|
* @param x 列坐标
|
||||||
* @param y 行坐标
|
* @param y 行坐标
|
||||||
*/
|
*/
|
||||||
static int set_printk_pos(const int x, const int y);
|
int set_printk_pos(const int x, const int y);
|
||||||
/**
|
/**
|
||||||
* @brief 将字符串按照fmt和args中的内容进行格式化,然后保存到buf中
|
* @brief 将字符串按照fmt和args中的内容进行格式化,然后保存到buf中
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user