Hey malo!

On Tue, Mar 01, 2016 at 08:25:23PM +0100, malo wrote:
> what about to have at least "official" wrapper around printf?
> 
> Im using tinyprintf already with riot and to have PRINTF macro defined
> would make things much easier.
> There are DEBUGs and LOGs together with printf-s sprinkled in the code.
> While DEBUG and LOG can be defined to custom functions, printf no. Thinking
> at printf.h with PRINTF macro + formatter macros defined - bad idea?

I would rather do the other way around and get rid of all the printfs in RIOT
and replace them by DEBUG and LOG_*.

Cheers,
Oleg
-- 
printk("WE HAVE A BUG HERE!!! stk=0x%p\n", stk);
        linux-2.6.6/drivers/block/cciss_scsi.c

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to