소스 검색

update graphic driver interface.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1465 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 14 년 전
부모
커밋
64517f05c5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/rtdef.h

+ 1 - 1
include/rtdef.h

@@ -721,7 +721,7 @@ struct rt_device_graphic_ops
 
 	void (*blit_line) (const char* pixel, int x, int y, rt_size_t size);
 };
-#define rt_graphix_ops(device)		(struct rt_device_graphic_ops*)(device->user_data)
+#define rt_graphix_ops(device)		((struct rt_device_graphic_ops*)(device->user_data))
 /*@}*/
 
 /**