URL
https://opencores.org/ocsvn/openarty/openarty/trunk
[/] [openarty/] [trunk/] [sw/] [host/] [ttybus.cpp] - Diff between revs 4 and 30
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 4 |
Rev 30 |
Line 50... |
Line 50... |
|
|
// #define DBGPRINTF printf
|
// #define DBGPRINTF printf
|
#define DBGPRINTF filedump
|
#define DBGPRINTF filedump
|
#ifndef DBGPRINTF
|
#ifndef DBGPRINTF
|
#define DBGPRINTF null
|
#define DBGPRINTF null
|
|
#else
|
|
#warning "TTYBUS DEBUG IS TURNED ON"
|
#endif
|
#endif
|
|
|
void null(...) {}
|
void null(...) {}
|
#include <stdarg.h> // replaces the (defunct) varargs.h include file
|
#include <stdarg.h> // replaces the (defunct) varargs.h include file
|
void filedump(const char *fmt, ...) {
|
void filedump(const char *fmt, ...) {
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.