Fixed indentation

This commit is contained in:
BlackMark 2020-03-29 04:17:47 +02:00
parent bcae00c0f3
commit 5d38b97254

18
adc.hpp
View File

@ -69,15 +69,15 @@ class AdcImpl {
static_assert(validPrescaler, "Invalid prescaler");
// clang-format off
switch (Cfg::PRESCALER) {
case 2: return 1;
case 4: return 2;
case 8: return 3;
case 16: return 4;
case 32: return 5;
case 64: return 6;
case 128: return 7;
}
switch (Cfg::PRESCALER) {
case 2: return 1;
case 4: return 2;
case 8: return 3;
case 16: return 4;
case 32: return 5;
case 64: return 6;
case 128: return 7;
}
// clang-format on
}