Преглед изворни кода

Add short blink to confirm GreenPAK detection (#38)

Petteri Aimonen пре 3 година
родитељ
комит
eedb92ada8
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      lib/AzulSCSI_platform_GD32F205/greenpak.cpp

+ 4 - 0
lib/AzulSCSI_platform_GD32F205/greenpak.cpp

@@ -171,6 +171,10 @@ bool greenpak_load_firmware()
     else
     {
         azlog("GreenPAK firmware successfully loaded");
+        LED_ON();
+        delay(10);
+        LED_OFF();
+        delay(100);
         g_greenpak_is_ready = true;
         return true;
     }