parent
749c3e5f1d
commit
33eef982d1
|
@ -30,6 +30,8 @@
|
|||
// ADC_CHANNEL_IN15 // PC17 (def=IAT)
|
||||
|
||||
brain_pin_e getAdcChannelBrainPin(const char *msg, adc_channel_e hwChannel) {
|
||||
static_assert(EFI_ADC_NONE == ADC_CHANNEL_NONE);
|
||||
|
||||
// todo: replace this with an array :)
|
||||
switch (hwChannel) {
|
||||
case EFI_ADC_0:
|
||||
|
|
|
@ -39,6 +39,8 @@
|
|||
// ADC_CHANNEL_IN15 // PC5
|
||||
|
||||
brain_pin_e getAdcChannelBrainPin(const char *msg, adc_channel_e hwChannel) {
|
||||
static_assert(EFI_ADC_NONE == ADC_CHANNEL_NONE);
|
||||
|
||||
// todo: replace this with an array :)
|
||||
switch (hwChannel) {
|
||||
case EFI_ADC_0:
|
||||
|
|
Loading…
Reference in New Issue