Browse Source

Fix restoring state

copy 7 years ago
parent
commit
74d2170d53
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/acpi.js

+ 1 - 1
src/acpi.js

@@ -112,7 +112,7 @@ ACPI.prototype.get_state = function()
     return state;
 };
 
-CPU.prototype.set_state = function(state)
+ACPI.prototype.set_state = function(state)
 {
     this.status = state[0];
     this.pm1_status = state[1];