Exclude html files from checkpatch

Also, fix 2 nits in the codebase.

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz
2018-01-26 18:57:25 +00:00
parent e77ebfe38a
commit 33e9eb098c
3 changed files with 4 additions and 5 deletions

View File

@@ -120,9 +120,9 @@ void script_SetCurrentSectionType(const char *type, uint32_t bank)
current_real_bank = bank;
return;
} else if (strcmp(type, "WRAM0") == 0) {
if (bank != 0) {
if (bank != 0)
errx(1, "Trying to assign a bank number to WRAM0.\n");
}
current_bank = BANK_INDEX_WRAM0;
current_real_bank = 0;
return;