]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Output/pjrcUSB/output_com.h
UARTConnect enumeration working!
[kiibohd-controller.git] / Output / pjrcUSB / output_com.h
index ab1e05f3443b7c00755e83ad151052aded4c7002..0462c20d3c372f60ae2025c2b5b609d472b2502f 100644 (file)
@@ -19,8 +19,7 @@
  * THE SOFTWARE.
  */
 
-#ifndef __output_com_h
-#define __output_com_h
+#pragma once
 
 // ----- Includes -----
 
@@ -79,7 +78,7 @@ extern          uint8_t  USBKeys_Idle_Count;
 
 extern USBKeyChangeState USBKeys_Changed;
 
-extern          uint8_t  Output_Available; // 0 - Output module not fully functional, 1 - Output module working
+extern volatile uint8_t  Output_Available; // 0 - Output module not fully functional, 1 - Output module working
 
 extern          uint8_t  Output_DebugMode; // 0 - Debug disabled, 1 - Debug enabled
 
@@ -116,5 +115,3 @@ int Output_getchar();
 int Output_putchar( char c );
 int Output_putstr( char* str );
 
-#endif
-