mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-11-04 07:12:33 +01:00 
			
		
		
		
	Fixed USBTask.h not conditionally including HostChapter9.h only when CAN_BE_DEVICE is defined (thanks to Ian Gregg).
This commit is contained in:
		
							parent
							
								
									4bb59f9673
								
							
						
					
					
						commit
						1c9092a8a6
					
				@ -43,6 +43,7 @@
 | 
				
			|||||||
  *  - Removed AVRISP_Programmer project due to code quality concerns
 | 
					  *  - Removed AVRISP_Programmer project due to code quality concerns
 | 
				
			||||||
  *  - Fixed CDC demo not sending an empty packet after each transfer to prevent the host from buffering incomming data
 | 
					  *  - Fixed CDC demo not sending an empty packet after each transfer to prevent the host from buffering incomming data
 | 
				
			||||||
  *  - Fixed documentation typoes and preprocessor checks relating to misspellings of the USE_RAM_DESCRIPTORS token (thanks to Ian Gregg)
 | 
					  *  - Fixed documentation typoes and preprocessor checks relating to misspellings of the USE_RAM_DESCRIPTORS token (thanks to Ian Gregg)
 | 
				
			||||||
 | 
					  *  - Fixed USBTask.h not conditionally including HostChapter9.h only when CAN_BE_DEVICE is defined (thanks to Ian Gregg)
 | 
				
			||||||
  *
 | 
					  *
 | 
				
			||||||
  *  \section Sec_ChangeLog090209 Version 090209
 | 
					  *  \section Sec_ChangeLog090209 Version 090209
 | 
				
			||||||
  *
 | 
					  *
 | 
				
			||||||
 | 
				
			|||||||
@ -46,11 +46,14 @@
 | 
				
			|||||||
		
 | 
							
 | 
				
			||||||
		#include "../../../Scheduler/Scheduler.h"
 | 
							#include "../../../Scheduler/Scheduler.h"
 | 
				
			||||||
		#include "../LowLevel/LowLevel.h"
 | 
							#include "../LowLevel/LowLevel.h"
 | 
				
			||||||
		#include "../LowLevel/HostChapter9.h"
 | 
					 | 
				
			||||||
		#include "../LowLevel/USBMode.h"
 | 
							#include "../LowLevel/USBMode.h"
 | 
				
			||||||
		#include "Events.h"
 | 
							#include "Events.h"
 | 
				
			||||||
		#include "StdDescriptors.h"
 | 
							#include "StdDescriptors.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							#if defined(USB_CAN_BE_HOST)
 | 
				
			||||||
 | 
								#include "../LowLevel/HostChapter9.h"
 | 
				
			||||||
 | 
							#endif		
 | 
				
			||||||
 | 
							
 | 
				
			||||||
	/* Enable C linkage for C++ Compilers: */
 | 
						/* Enable C linkage for C++ Compilers: */
 | 
				
			||||||
		#if defined(__cplusplus)
 | 
							#if defined(__cplusplus)
 | 
				
			||||||
			extern "C" {
 | 
								extern "C" {
 | 
				
			||||||
 | 
				
			|||||||
@ -48,6 +48,7 @@
 | 
				
			|||||||
		#if !defined(NO_STREAM_CALLBACKS) || defined(__DOXYGEN__)
 | 
							#if !defined(NO_STREAM_CALLBACKS) || defined(__DOXYGEN__)
 | 
				
			||||||
			#include "StreamCallbacks.h"
 | 
								#include "StreamCallbacks.h"
 | 
				
			||||||
		#endif
 | 
							#endif
 | 
				
			||||||
 | 
							
 | 
				
			||||||
	/* Enable C linkage for C++ Compilers: */
 | 
						/* Enable C linkage for C++ Compilers: */
 | 
				
			||||||
		#if defined(__cplusplus)
 | 
							#if defined(__cplusplus)
 | 
				
			||||||
			extern "C" {
 | 
								extern "C" {
 | 
				
			||||||
 | 
				
			|||||||
@ -48,6 +48,7 @@
 | 
				
			|||||||
		#if !defined(NO_STREAM_CALLBACKS) || defined(__DOXYGEN__)
 | 
							#if !defined(NO_STREAM_CALLBACKS) || defined(__DOXYGEN__)
 | 
				
			||||||
			#include "StreamCallbacks.h"
 | 
								#include "StreamCallbacks.h"
 | 
				
			||||||
		#endif
 | 
							#endif
 | 
				
			||||||
 | 
							
 | 
				
			||||||
	/* Enable C linkage for C++ Compilers: */
 | 
						/* Enable C linkage for C++ Compilers: */
 | 
				
			||||||
		#if defined(__cplusplus)
 | 
							#if defined(__cplusplus)
 | 
				
			||||||
			extern "C" {
 | 
								extern "C" {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user