Renamed all driver termination *_ShutDown() functions to the more logical name *_Disable().
This commit is contained in:
@@ -421,8 +421,8 @@
|
||||
/** Turns off the ADC. If this is called, any further ADC operations will require a call to
|
||||
* \ref ADC_Init() before the ADC can be used again.
|
||||
*/
|
||||
static inline void ADC_ShutDown(void) ATTR_ALWAYS_INLINE;
|
||||
static inline void ADC_ShutDown(void)
|
||||
static inline void ADC_Disable(void) ATTR_ALWAYS_INLINE;
|
||||
static inline void ADC_Disable(void)
|
||||
{
|
||||
ADCSRA = 0;
|
||||
}
|
||||
|
||||
@@ -175,8 +175,8 @@
|
||||
/** Turns off the TWI driver hardware. If this is called, any further TWI operations will require a call to
|
||||
* \ref TWI_Init() before the TWI can be used again.
|
||||
*/
|
||||
static inline void TWI_ShutDown(void) ATTR_ALWAYS_INLINE;
|
||||
static inline void TWI_ShutDown(void)
|
||||
static inline void TWI_Disable(void) ATTR_ALWAYS_INLINE;
|
||||
static inline void TWI_Disable(void)
|
||||
{
|
||||
TWCR &= ~(1 << TWEN);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user