Compare commits
1 Commits
3480cba21c
...
button
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59e1003262 |
@@ -16,7 +16,7 @@ enum class ADC_Key : uint8_t{
|
|||||||
INVALID
|
INVALID
|
||||||
};
|
};
|
||||||
|
|
||||||
ADC_TypeDef* getADCRegister(ADC_Key key){
|
constexpr ADC_TypeDef* getADCRegister(ADC_Key key){
|
||||||
switch(key){
|
switch(key){
|
||||||
case ADC_Key::S_ADC1:
|
case ADC_Key::S_ADC1:
|
||||||
return ADC1;
|
return ADC1;
|
||||||
|
|||||||
Reference in New Issue
Block a user