We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e31a7 commit 6dd9b8eCopy full SHA for 6dd9b8e
awtk-port/input_thread/common_coord.c
@@ -25,7 +25,7 @@
25
static tk_atomic_t s_coord;
26
27
#define COMMON_COORD_POINT_TO_U64(p) (((uint64_t)p.x << 32) | p.y)
28
-#define COMMON_COORD_POINT_FROM_U64(p) \
+#define COMMON_COORD_POINT_FROM_U64(num) \
29
point_init((xy_t)((num >> 32) & 0xFFFFFFFF), (xy_t)(num & 0xFFFFFFFF))
30
31
ret_t common_coord_init(void) {
docs/changes.md
@@ -1,5 +1,8 @@
1
# 最新动态
2
3
+2025/02/07
4
+ * 修复COMMON_COORD_POINT_FROM_U64(感谢兆坤提供补丁)
5
+
6
2025/01/15
7
* 修正drm模式每次drm_vsync刷新屏幕时,都调用srand重置随机种子的Bug,避免程序中使用rand会出现重复的数字的问题
8
0 commit comments