X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Output%2FpjrcUSB%2Foutput_com.h;h=0462c20d3c372f60ae2025c2b5b609d472b2502f;hb=55d03f448e42ea581810bef3d55eb9c017572665;hp=aeddc0986f108ef1351ff099f7a0e953cd71b225;hpb=53f2731960bfd0844c03e575808fcc0e7f00717e;p=kiibohd-controller.git diff --git a/Output/pjrcUSB/output_com.h b/Output/pjrcUSB/output_com.h index aeddc09..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 @@ -89,6 +88,7 @@ extern uint8_t Output_DebugMode; // 0 - Debug disabled, 1 - Debug enab // Output capabilities void Output_consCtrlSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ); +void Output_noneSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ); void Output_sysCtrlSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ); void Output_usbCodeSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ); @@ -115,5 +115,3 @@ int Output_getchar(); int Output_putchar( char c ); int Output_putstr( char* str ); -#endif -