Contribute
Register

Result is not used, operator has no effect

Status
Not open for further replies.
Joined
Dec 24, 2019
Messages
18
Motherboard
Acer Aspire 5 A515-54G [OpenCore]
CPU
i5-10210U
Graphics
UHD Graphics 630
Mobile Phone
  1. Android
I am trying to fix SSDT-5-ACRPRDCT because it is giving me two errors. One of which is this:

Code:
6114 Result is not used, operator has no effect

And it is showing that the error is present in this line:

Code:
DerefOf (Index (SCLK, One))

1577462944887.png


Attached here is the SSDT-5-ACRPRDCT.dsl. Let me know if you need additional files.
 

Attachments

  • SSDT-5-ACRPRDCT.dsl
    137.8 KB · Views: 113
I fixed it by looking at the syntax of System SSDT-5.dsl which MaciASL provides.

I fixed it by changing this:
Code:
PCR0 (0xDC, 0x100C)
DerefOf (Index (SCLK, One))


to this:
Code:
PCRO (0xDC, 0x100C, DerefOf (Index (SCLK, One)))
 
Status
Not open for further replies.
Back
Top