mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-02 20:09:48 -08:00
Correct the code order
Code of Before and After were placed wrongly.
This commit is contained in:
@@ -51,10 +51,9 @@ From the second example, we'll want to set both GPEN and SBRG to `One` to allow
|
|||||||
|
|
||||||
```
|
```
|
||||||
If (_OSI ("Darwin"))
|
If (_OSI ("Darwin"))
|
||||||
{
|
{
|
||||||
GPEN = One <- Change to the right variables
|
GPEN = One <- Proper variables
|
||||||
SBRG = One <- Change to the right variables
|
}
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
@@ -65,9 +64,10 @@ Following the example pathing we found, the SSDT should look something like this
|
|||||||
|
|
||||||
```
|
```
|
||||||
If (_OSI ("Darwin"))
|
If (_OSI ("Darwin"))
|
||||||
{
|
{
|
||||||
GPEN = One <- Proper variables
|
GPEN = One <- Change to the right variables
|
||||||
}
|
SBRG = One <- Change to the right variables
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
Reference in New Issue
Block a user