mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 13:22:31 +01:00 
			
		
		
		
	Fix improper indenting of the internal board driver dispatch headers.
Slight improvements to the ADC peripheral driver example in the manual.
This commit is contained in:
		
							parent
							
								
									bfa22eca26
								
							
						
					
					
						commit
						87b57522b2
					
				| @ -175,6 +175,7 @@ | |||||||
| 			#include "Board/LEDs.h" | 			#include "Board/LEDs.h" | ||||||
| 		#endif | 		#endif | ||||||
| 
 | 
 | ||||||
|  | 	/* Preprocessor Checks: */ | ||||||
| 		#if !defined(LEDS_LED1) | 		#if !defined(LEDS_LED1) | ||||||
| 			#define LEDS_LED1      0 | 			#define LEDS_LED1      0 | ||||||
| 		#endif | 		#endif | ||||||
|  | |||||||
| @ -65,8 +65,11 @@ | |||||||
|  * |  * | ||||||
|  *      // Start reading ADC channel 1 in free running (continuous conversion) mode
 |  *      // Start reading ADC channel 1 in free running (continuous conversion) mode
 | ||||||
|  *      ADC_StartReading(ADC_REFERENCE_AVCC | ADC_RIGHT_ADJUSTED | ADC_CHANNEL1); |  *      ADC_StartReading(ADC_REFERENCE_AVCC | ADC_RIGHT_ADJUSTED | ADC_CHANNEL1); | ||||||
|  |  *      for (;;) | ||||||
|  |  *      { | ||||||
|  *           while (!(ADC_IsReadingComplete())) {}; |  *           while (!(ADC_IsReadingComplete())) {}; | ||||||
|  *           printf("Conversion Result: %d\r\n", ADC_GetResult()); |  *           printf("Conversion Result: %d\r\n", ADC_GetResult()); | ||||||
|  |  *      } | ||||||
|  *  \endcode |  *  \endcode | ||||||
|  * |  * | ||||||
|  *  @{ |  *  @{ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dean Camera
						Dean Camera