mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Change tabs to spaces and remove trailing whitespace
This commit is contained in:
parent
be5b709af6
commit
9558ae2519
19 changed files with 30 additions and 30 deletions
|
@ -31,9 +31,9 @@ void uli2a(unsigned long int num, unsigned int base, int uc, char *bf)
|
||||||
|
|
||||||
while (d != 0) {
|
while (d != 0) {
|
||||||
int dgt = num / d;
|
int dgt = num / d;
|
||||||
*bf++ = dgt + (dgt < 10 ? '0' : (uc ? 'A' : 'a') - 10);
|
*bf++ = dgt + (dgt < 10 ? '0' : (uc ? 'A' : 'a') - 10);
|
||||||
|
|
||||||
// Next digit
|
// Next digit
|
||||||
num %= d;
|
num %= d;
|
||||||
d /= base;
|
d /= base;
|
||||||
}
|
}
|
||||||
|
@ -60,9 +60,9 @@ void ui2a(unsigned int num, unsigned int base, int uc, char *bf)
|
||||||
|
|
||||||
while (d != 0) {
|
while (d != 0) {
|
||||||
int dgt = num / d;
|
int dgt = num / d;
|
||||||
*bf++ = dgt + (dgt < 10 ? '0' : (uc ? 'A' : 'a') - 10);
|
*bf++ = dgt + (dgt < 10 ? '0' : (uc ? 'A' : 'a') - 10);
|
||||||
|
|
||||||
// Next digit
|
// Next digit
|
||||||
num %= d;
|
num %= d;
|
||||||
d /= base;
|
d /= base;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ void targetConfiguration(master_t *config)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hardwareRevision == BJF4_MINI_REV3A || hardwareRevision == BJF4_REV1) {
|
if (hardwareRevision == BJF4_MINI_REV3A || hardwareRevision == BJF4_REV1) {
|
||||||
intFeatureClear(FEATURE_SDCARD, &config->enabledFeatures);
|
intFeatureClear(FEATURE_SDCARD, &config->enabledFeatures);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hardwareRevision == BJF4_MINI_REV3A) {
|
if (hardwareRevision == BJF4_MINI_REV3A) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue