Ver código fonte

Fix restoring state

copy 7 anos atrás
pai
commit
74d2170d53
1 arquivos alterados com 1 adições e 1 exclusões
  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];