From: Daniƫl Geelen Date: Wed, 23 May 2018 17:12:55 +0000 (+0200) Subject: Add more white space around expressions. X-Git-Tag: v1.7~46^2 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=ce3a2117e676e8bdc23f2f91c8f1916c59ab3259;p=sx%2Fsimavr.git Add more white space around expressions. --- diff --git a/simavr/sim/sim_core.c b/simavr/sim/sim_core.c index 1d53668..8ba14a8 100644 --- a/simavr/sim/sim_core.c +++ b/simavr/sim/sim_core.c @@ -127,8 +127,8 @@ void avr_core_watch_write(avr_t *avr, uint16_t addr, uint8_t v) AVR_LOG(avr, LOG_WARNING, "CORE: *** Wrapping write address " "PC=%04x SP=%04x O=%04x v=%02x Address %04x %% %04x --> %04x\n", - avr->pc, _avr_sp_get(avr), _avr_flash_read16le(avr, avr->pc), v, addr, (avr->ramend+1), addr % (avr->ramend+1)); - addr = addr % (avr->ramend+1); + avr->pc, _avr_sp_get(avr), _avr_flash_read16le(avr, avr->pc), v, addr, (avr->ramend + 1), addr % (avr->ramend + 1)); + addr = addr % (avr->ramend + 1); } if (addr < 32) { AVR_LOG(avr, LOG_ERROR, FONT_RED @@ -164,8 +164,8 @@ uint8_t avr_core_watch_read(avr_t *avr, uint16_t addr) "CORE: *** Wrapping read address " "PC=%04x SP=%04x O=%04x Address %04x %% %04x --> %04x\n" FONT_DEFAULT, - avr->pc, _avr_sp_get(avr), _avr_flash_read16le(avr, avr->pc), addr, (avr->ramend+1), addr % (avr->ramend+1)); - addr = addr % (avr->ramend+1); + avr->pc, _avr_sp_get(avr), _avr_flash_read16le(avr, avr->pc), addr, (avr->ramend + 1), addr % (avr->ramend + 1)); + addr = addr % (avr->ramend + 1); } if (avr->gdb) { @@ -1439,5 +1439,3 @@ run_one_again: return new_pc; } - -