Commit 131a25010e53eb114d0c13e587098f48f348e9ba
authorga <ga@oldell.fish>
Fri, 6 May 2022 16:52:57 +0000 (17:52 +0100)
committerga <ga@oldell.fish>
Fri, 6 May 2022 17:08:02 +0000 (18:08 +0100)
simavr/sim/sim_avr.c

index 4c2602ca9a4a1d763844af9c7cf70e936edc1db9..24cb2442857ff817a04310571a2104b2df095b6a 100644 (file)
@@ -447,7 +447,7 @@ std_logger(
                va_list ap)
 {
        if (!avr || avr->log >= level) {
-               vfprintf((level > LOG_ERROR) ?  stdout : stderr , format, ap);
+               vfprintf((level < LOG_ERROR) ?  stdout : stderr, format, ap);
        }
 }