Skip to content

Instantly share code, notes, and snippets.

@cab404
Created March 11, 2018 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cab404/815c29a83a4df4cc2ceed8c798310127 to your computer and use it in GitHub Desktop.
Save cab404/815c29a83a4df4cc2ceed8c798310127 to your computer and use it in GitHub Desktop.
diff --git a/dellfan.c b/dellfan.c
index 5f9098d..1f71236 100644
--- a/dellfan.c
+++ b/dellfan.c
@@ -67,10 +67,10 @@
* putting the speed to maximum, sleeping some seconds, and checking the speed back.
* Check the function probecodes()
*/
-#define DISABLE_BIOS_METHOD1 0x30a3
-#define ENABLE_BIOS_METHOD1 0x31a3
-#define DISABLE_BIOS_METHOD2 0x34a3
-#define ENABLE_BIOS_METHOD2 0x35a3
+#define DISABLE_BIOS_METHOD2 0x30a3
+#define ENABLE_BIOS_METHOD2 0x31a3
+#define DISABLE_BIOS_METHOD1 0x34a3
+#define ENABLE_BIOS_METHOD1 0x35a3
#define ENABLE_FN 0x32a3
#define SET_FAN 0x01a3
#define GET_FAN 0x00a3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment