Skip to content

Commit 316b9a6

Browse files
committed
Corrects a typo in the routine to check for region movement that stood there for too long
1 parent 9b44a8c commit 316b9a6

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

src/hal/hisi/v1_hal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ int v1_region_create(char handle, hal_rect rect, short opacity)
374374

375375
if (v1_rgn.fnGetChannelConfig(handle, &dest, &attribCurr))
376376
HAL_INFO("v1_rgn", "Attaching region %d...\n", handle);
377-
else if (attribCurr.overlay.point.x != rect.x || attribCurr.overlay.point.x != rect.y) {
377+
else if (attribCurr.overlay.point.x != rect.x || attribCurr.overlay.point.y != rect.y) {
378378
HAL_INFO("v1_rgn", "Position has changed, reattaching "
379379
"region %d...\n", handle);
380380
v1_rgn.fnDetachChannel(handle, &dest);

src/hal/hisi/v2_hal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ int v2_region_create(char handle, hal_rect rect, short opacity)
377377

378378
if (v2_rgn.fnGetChannelConfig(handle, &dest, &attribCurr))
379379
HAL_INFO("v2_rgn", "Attaching region %d...\n", handle);
380-
else if (attribCurr.overlay.point.x != rect.x || attribCurr.overlay.point.x != rect.y) {
380+
else if (attribCurr.overlay.point.x != rect.x || attribCurr.overlay.point.y != rect.y) {
381381
HAL_INFO("v2_rgn", "Position has changed, reattaching "
382382
"region %d...\n", handle);
383383
v2_rgn.fnDetachChannel(handle, &dest);

src/hal/hisi/v3_hal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ int v3_region_create(char handle, hal_rect rect, short opacity)
373373

374374
if (v3_rgn.fnGetChannelConfig(handle, &dest, &attribCurr))
375375
HAL_INFO("v3_rgn", "Attaching region %d...\n", handle);
376-
else if (attribCurr.overlay.point.x != rect.x || attribCurr.overlay.point.x != rect.y) {
376+
else if (attribCurr.overlay.point.x != rect.x || attribCurr.overlay.point.y != rect.y) {
377377
HAL_INFO("v3_rgn", "Position has changed, reattaching "
378378
"region %d...\n", handle);
379379
v3_rgn.fnDetachChannel(handle, &dest);

src/hal/hisi/v4_hal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ int v4_region_create(char handle, hal_rect rect, short opacity)
426426

427427
if (v4_rgn.fnGetChannelConfig(handle, &dest, &attribCurr))
428428
HAL_INFO("v4_rgn", "Attaching region %d...\n", handle);
429-
else if (attribCurr.overlay.point.x != rect.x || attribCurr.overlay.point.x != rect.y) {
429+
else if (attribCurr.overlay.point.x != rect.x || attribCurr.overlay.point.y != rect.y) {
430430
HAL_INFO("v4_rgn", "Position has changed, reattaching "
431431
"region %d...\n", handle);
432432
v4_rgn.fnDetachChannel(handle, &dest);

src/hal/plus/cvi_hal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ int cvi_region_create(char handle, hal_rect rect, short opacity)
412412

413413
if (cvi_rgn.fnGetChannelConfig(handle, &channel, &attribCurr))
414414
HAL_INFO("cvi_rgn", "Attaching region %d...\n", handle);
415-
else if (attribCurr.overlay.point.x != rect.x || attribCurr.overlay.point.x != rect.y) {
415+
else if (attribCurr.overlay.point.x != rect.x || attribCurr.overlay.point.y != rect.y) {
416416
HAL_INFO("cvi_rgn", "Position has changed, reattaching "
417417
"region %d...\n", handle);
418418
cvi_rgn.fnDetachChannel(handle, &channel);

src/hal/plus/rk_hal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ int rk_region_create(char handle, hal_rect rect, short opacity)
368368

369369
if (rk_rgn.fnGetChannelConfig(handle, &channel, &attribCurr))
370370
HAL_INFO("rk_rgn", "Attaching region %d...\n", handle);
371-
else if (attribCurr.overlay.point.x != rect.x || attribCurr.overlay.point.x != rect.y) {
371+
else if (attribCurr.overlay.point.x != rect.x || attribCurr.overlay.point.y != rect.y) {
372372
HAL_INFO("rk_rgn", "Position has changed, reattaching "
373373
"region %d...\n", handle);
374374
rk_rgn.fnDetachChannel(handle, &channel);

src/hal/star/i3_hal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ int i3_region_create(char handle, hal_rect rect, short opacity)
341341
342342
if (i3_rgn.fnGetChannelConfig(handle, &dest, &attribCurr))
343343
HAL_INFO("i3_rgn", "Attaching region %d...\n", handle);
344-
else if (attribCurr.point.x != rect.x || attribCurr.point.x != rect.y ||
344+
else if (attribCurr.point.x != rect.x || attribCurr.point.y != rect.y ||
345345
attribCurr.osd.bgFgAlpha[1] != opacity) {
346346
HAL_INFO("i3_rgn", "Parameters are different, reattaching "
347347
"region %d...\n", handle);

src/hal/star/i6_hal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ int i6_region_create(char handle, hal_rect rect, short opacity)
415415

416416
if (i6_rgn.fnGetChannelConfig(handle, &dest, &attribCurr))
417417
HAL_INFO("i6_rgn", "Attaching region %d...\n", handle);
418-
else if (attribCurr.point.x != rect.x || attribCurr.point.x != rect.y ||
418+
else if (attribCurr.point.x != rect.x || attribCurr.point.y != rect.y ||
419419
attribCurr.osd.bgFgAlpha[1] != opacity) {
420420
HAL_INFO("i6_rgn", "Parameters are different, reattaching "
421421
"region %d...\n", handle);

src/hal/star/i6c_hal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ int i6c_region_create(char handle, hal_rect rect, short opacity)
478478

479479
if (i6c_rgn.fnGetChannelConfig(0, handle, &dest, &attribCurr))
480480
HAL_INFO("i6c_rgn", "Attaching region %d...\n", handle);
481-
else if (attribCurr.point.x != rect.x || attribCurr.point.x != rect.y ||
481+
else if (attribCurr.point.x != rect.x || attribCurr.point.y != rect.y ||
482482
attribCurr.osd.bgFgAlpha[1] != opacity) {
483483
HAL_INFO("i6c_rgn", "Parameters are different, reattaching "
484484
"region %d...\n", handle);

src/hal/star/m6_hal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ int m6_region_create(char handle, hal_rect rect, short opacity)
455455

456456
if (m6_rgn.fnGetChannelConfig(0, handle, &dest, &attribCurr))
457457
HAL_INFO("m6_rgn", "Attaching region %d...\n", handle);
458-
else if (attribCurr.point.x != rect.x || attribCurr.point.x != rect.y ||
458+
else if (attribCurr.point.x != rect.x || attribCurr.point.y != rect.y ||
459459
attribCurr.osd.bgFgAlpha[1] != opacity) {
460460
HAL_INFO("m6_rgn", "Parameters are different, reattaching "
461461
"region %d...\n", handle);

0 commit comments

Comments
 (0)