We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc4d1c1 commit 7db027cCopy full SHA for 7db027c
dongle/mt76.cpp
@@ -645,6 +645,12 @@ void MT76::initChip()
645
throw MT76Exception("Failed to init registers");
646
}
647
648
+ // Turn off LED
649
+ if (!setLedMode(MT_LED_OFF))
650
+ {
651
+ throw MT76Exception("Failed to turn off LED");
652
+ }
653
+
654
controlWrite(MT_MAC_SYS_CTRL, 0);
655
656
// Calibrate chip
dongle/mt76.h
@@ -764,6 +764,7 @@
764
// LED modes
765
#define MT_LED_BLINK 0x00
766
#define MT_LED_ON 0x01
767
+#define MT_LED_OFF 0x02
768
769
enum PhyType
770
{
0 commit comments