]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Output/uartOut/output_com.c
Initial code for USB cable detection
[kiibohd-controller.git] / Output / uartOut / output_com.c
index 083936085d57b8f9306d03fdc0530795cdf2e8cd..3b18ee299f90edefdd9612d8ef2a0328a87bcb1b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014 by Jacob Alexander
+/* Copyright (C) 2014-2015 by Jacob Alexander
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -107,6 +107,11 @@ USBKeyChangeState USBKeys_Changed = USBKeyChangeState_None;
 // count until idle timeout
          uint8_t  USBKeys_Idle_Count = 0;
 
+// Indicates whether the Output module is fully functional
+// 0 - Not fully functional, 1 - Fully functional
+// 0 is often used to show that a USB cable is not plugged in (but has power)
+         uint8_t  Output_Available = 0;
+
 
 
 // ----- Capabilities -----