Commit ea0174503284b7b30c6ee4a473ae7aaba0f7427b
authorJakob Gruber <jakob.gruber@gmail.com>
Thu, 2 Aug 2012 08:30:55 +0000 (10:30 +0200)
committerJakob Gruber <jakob.gruber@gmail.com>
Fri, 10 Aug 2012 14:17:20 +0000 (16:17 +0200)
simavr/sim/avr_bitbang.c

index 040273c5bb5c52f2c84842caf90bd6468db93409..e34aab23ca5c946ab48a24b1f5b88b4d9b903157 100644 (file)
@@ -189,8 +189,8 @@ void avr_bitbang_reset(avr_t *avr, avr_bitbang_t * p)
        p->data = 0;
 
        if ( p->buffer_size < 1 || p->buffer_size > 32 ) {
-               fprintf(stderr,
-                       "Error: bitbang buffer size should be between 1 and 32. set value: %d\n", p->buffer_size);
+               AVR_LOG(avr, LOG_ERROR,
+                               "Error: bitbang buffer size should be between 1 and 32. set value: %d\n", p->buffer_size);
                abort();
        }