Fix typo in Battery Driver docs (#25312)
* Fix typo in Battery Driver docs * Update battery.md
This commit is contained in:
		
							parent
							
								
									2b8aeed02b
								
							
						
					
					
						commit
						faf77f1651
					
				| @ -36,8 +36,8 @@ The following `#define`s apply only to the `adc` driver: | |||||||
| |-----------------------------|--------------|--------------------------------------------------------------| | |-----------------------------|--------------|--------------------------------------------------------------| | ||||||
| |`BATTERY_PIN`                |*Not defined* |The GPIO pin connected to the voltage divider.                | | |`BATTERY_PIN`                |*Not defined* |The GPIO pin connected to the voltage divider.                | | ||||||
| |`BATTERY_REF_VOLTAGE_MV`     |`3300`        |The ADC reverence voltage, in millivolts.                     | | |`BATTERY_REF_VOLTAGE_MV`     |`3300`        |The ADC reverence voltage, in millivolts.                     | | ||||||
| |`BATTERY_VOLTAGE_DIVIDER_R1` |`100000`      |The voltage divider resistance, in kOhm. Set to 0 to disable. | | |`BATTERY_VOLTAGE_DIVIDER_R1` |`100`         |The voltage divider resistance, in kOhm. Set to 0 to disable. | | ||||||
| |`BATTERY_VOLTAGE_DIVIDER_R1` |`100000`      |The voltage divider resistance, in kOhm. Set to 0 to disable. | | |`BATTERY_VOLTAGE_DIVIDER_R2` |`100`         |The voltage divider resistance, in kOhm. Set to 0 to disable. | | ||||||
| |`BATTERY_ADC_RESOLUTION`     |`10`          |The ADC resolution configured for the ADC Driver.             | | |`BATTERY_ADC_RESOLUTION`     |`10`          |The ADC resolution configured for the ADC Driver.             | | ||||||
| 
 | 
 | ||||||
| ## Functions | ## Functions | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user