Merge pull request #1722 from martinbudden/bf_whitespace

Change tabs to spaces and remove trailing whitespace
This commit is contained in:
Martin Budden 2016-12-01 19:13:21 +01:00 committed by GitHub
commit a11ad509c6
19 changed files with 30 additions and 30 deletions

View File

@ -31,9 +31,9 @@ void uli2a(unsigned long int num, unsigned int base, int uc, char *bf)
while (d != 0) {
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;
d /= base;
}
@ -60,9 +60,9 @@ void ui2a(unsigned int num, unsigned int base, int uc, char *bf)
while (d != 0) {
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;
d /= base;
}

View File

@ -37,7 +37,7 @@ void targetConfiguration(master_t *config)
}
if (hardwareRevision == BJF4_MINI_REV3A || hardwareRevision == BJF4_REV1) {
intFeatureClear(FEATURE_SDCARD, &config->enabledFeatures);
intFeatureClear(FEATURE_SDCARD, &config->enabledFeatures);
}
if (hardwareRevision == BJF4_MINI_REV3A) {