Fix improper indenting of the internal board driver dispatch headers.

Slight improvements to the ADC peripheral driver example in the manual.
pull/1469/head
Dean Camera 14 years ago
parent bfa22eca26
commit 87b57522b2

@ -175,6 +175,7 @@
#include "Board/LEDs.h"
#endif
/* Preprocessor Checks: */
#if !defined(LEDS_LED1)
#define LEDS_LED1 0
#endif

@ -65,8 +65,11 @@
*
* // Start reading ADC channel 1 in free running (continuous conversion) mode
* ADC_StartReading(ADC_REFERENCE_AVCC | ADC_RIGHT_ADJUSTED | ADC_CHANNEL1);
* for (;;)
* {
* while (!(ADC_IsReadingComplete())) {};
* printf("Conversion Result: %d\r\n", ADC_GetResult());
* }
* \endcode
*
* @{

Loading…
Cancel
Save