Contribute
Register

Help in correcting errors in SSDT code!!

Joined
Jul 21, 2019
Messages
1
Motherboard
HP 246 G6
CPU
i3-7020U
Graphics
HD 620
Mobile Phone
Android
Code:
                                }

                                If (LEqual (\_SB.GGOV (0x02010016), One))
                                {
                                    Sleep (0x96)
                                    If (LEqual (\_SB.GGOV (0x02010014), One)){}
                                    Else
                                    {
                                        Notify (\_SB.PCI0.I2C0.DFUD, One)
                                    }
                                }

                                Return (Zero)
                            }
                            Case (0x02)
                            {
                                Store (DerefOf (Index (Arg3, Zero)), DFUE)
                                Store (DerefOf (Index (Arg3, One)), DFUD)
                                Store (\_SB.GGOV (0x02010014), OLDV)
                                \_SB.GGOV (0x02010014)
                                DFUE
                                If (LGreater (DFUD, Zero))
                                {
                                    Sleep (DFUD)
                                    \_SB.GGOV (0x02010014)
                                    OLDV
                                }
Help me to find this error in my SSDT code, in MaciASL it accuses 6 errors, I've researched everything and I can't find these errors, I'm not so good at programming!

syntax error, unexpected '}'
syntax error, unexpected PARSEOP_CASE
syntax error, unexpected '{'
syntax error, unexpected PARSEOP_IF
syntax error, unexpected '{'

syntax error, unexpected '}'
 

Attachments

Top