use named constants instead of magic numbers.
This commit is contained in:
@@ -1073,8 +1073,8 @@ void getADC()
|
||||
#if defined(RADIO_TX16S)
|
||||
switch (x)
|
||||
{
|
||||
case 9:
|
||||
case 10:
|
||||
case EXT3:
|
||||
case EXT4:
|
||||
v = getAnalogValue(x-7) >> (1 - ANALOG_SCALE);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user