mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-30 21:02:32 +01:00 
			
		
		
		
	More fixes for incorrect return types/values.
This commit is contained in:
		
							parent
							
								
									261284f5e1
								
							
						
					
					
						commit
						d8f36aa7a8
					
				| @ -238,7 +238,7 @@ uint8_t HID_Host_SendReportByID(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo | ||||
| { | ||||
| #if !defined(HID_HOST_BOOT_PROTOCOL_ONLY) | ||||
| 	if ((USB_HostState != HOST_STATE_Configured) || !(HIDInterfaceInfo->State.IsActive)) | ||||
| 	  return false; | ||||
| 	  return PIPE_RWSTREAM_NoError; | ||||
| 
 | ||||
| 	if (HIDInterfaceInfo->State.DeviceUsesOUTPipe && (ReportType == HID_REPORT_ITEM_Out)) | ||||
| 	{ | ||||
|  | ||||
| @ -171,8 +171,8 @@ | ||||
| 			 * | ||||
| 			 *  \return Boolean \c true if the internal oscillator was successfully started, \c false if invalid parameters specified. | ||||
| 			 */ | ||||
| 			static inline uint8_t XMEGACLK_StartInternalOscillator(const uint8_t Source) ATTR_ALWAYS_INLINE; | ||||
| 			static inline uint8_t XMEGACLK_StartInternalOscillator(const uint8_t Source) | ||||
| 			static inline bool XMEGACLK_StartInternalOscillator(const uint8_t Source) ATTR_ALWAYS_INLINE; | ||||
| 			static inline bool XMEGACLK_StartInternalOscillator(const uint8_t Source) | ||||
| 			{ | ||||
| 				switch (Source) | ||||
| 				{ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dean Camera
						Dean Camera