X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Output%2FpjrcUSB%2Foutput_com.h;h=0462c20d3c372f60ae2025c2b5b609d472b2502f;hb=55d03f448e42ea581810bef3d55eb9c017572665;hp=ab1e05f3443b7c00755e83ad151052aded4c7002;hpb=fd25312f4f9753afec986e4a88fa5dedc42a8401;p=kiibohd-controller.git diff --git a/Output/pjrcUSB/output_com.h b/Output/pjrcUSB/output_com.h index ab1e05f..0462c20 100644 --- a/Output/pjrcUSB/output_com.h +++ b/Output/pjrcUSB/output_com.h @@ -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 -