提交 c8e4bca1 编写于 作者: B bigmagic

fix some bug

上级 fdde8ab1
......@@ -429,7 +429,7 @@ void print_fb_info()
rt_kprintf("call mbox:%x,%x,%x,%x,%x\n", mbox[0], mbox[1], mbox[2], mbox[3], mbox[4]);
}
void hdmi_fb_init()
int hdmi_fb_init()
{
unsigned int *mbox = (unsigned int*) MBOX_ADDR;
mbox[0] = 35 * 4;
......@@ -503,6 +503,7 @@ void hdmi_fb_init()
_hdmi_info.height = _hdmi.fb.height;
_hdmi_info.framebuffer = (rt_uint8_t *) _hdmi.fb.addr;
}
return 0;
}
INIT_DEVICE_EXPORT(hdmi_fb_init);
......@@ -55,6 +55,5 @@ struct rt_hdmi_fb_device
fb_t fb_info;
void print_fb_info();
void hdmi_fb_init();
#endif/* __DRV_FB_H__ */
......@@ -16,9 +16,6 @@ if os.getenv('RTT_CC'):
PLATFORM = 'gcc'
EXEC_PATH = r'/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-elf/bin/'
if os.getenv('RTT_EXEC_PATH'):
EXEC_PATH = os.getenv('RTT_EXEC_PATH')
BUILD = 'debug'
if PLATFORM == 'gcc':
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册