Commit 8f5d35d2 authored by ROOL's avatar ROOL 🤖

Debug build fix

Detail:
  Add missing logprintf().
Admin:
  Submission for USB bounty.

Version 0.40. Tagged as 'EHCIDriver-0_40'
parent 42b5db51
......@@ -40,7 +40,7 @@ CINCLUDES = -IC:USB,TCPIPLibs:,C:,tbox:
CFLAGS = -Wp
ifeq (${DEBUG},TRUE)
CFLAGS += -DDEBUGLIB -DEHCI_DEBUG
CFLAGS += -DDEBUGLIB -DEHCI_DEBUG -DUSB_DEBUG
CMHGFLAGS += -DDEBUGLIB -DEHCI_DEBUG
LIBS += ${DEBUGLIBS} ${SOCK5LIB} ${INETLIB}
endif
......
/* (0.39)
/* (0.40)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.39
#define Module_MajorVersion_CMHG 0.40
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 21 Oct 2017
#define Module_Date_CMHG 18 Nov 2017
#define Module_MajorVersion "0.39"
#define Module_Version 39
#define Module_MajorVersion "0.40"
#define Module_Version 40
#define Module_MinorVersion ""
#define Module_Date "21 Oct 2017"
#define Module_Date "18 Nov 2017"
#define Module_ApplicationDate "21-Oct-17"
#define Module_ApplicationDate "18-Nov-17"
#define Module_ComponentName "EHCIDriver"
#define Module_ComponentPath "mixed/RiscOS/Sources/HWSupport/USB/Controllers/EHCIDriver"
#define Module_FullVersion "0.39"
#define Module_HelpVersion "0.39 (21 Oct 2017)"
#define Module_LibraryVersionInfo "0:39"
#define Module_FullVersion "0.40"
#define Module_HelpVersion "0.40 (18 Nov 2017)"
#define Module_LibraryVersionInfo "0:40"
......@@ -226,6 +226,16 @@ void panic (const char* str, ...)
va_end (p);
}
#if !defined(logprintf) && defined(DEBUGLIB)
void logprintf (char* format, ...)
{
va_list p;
va_start (p, format);
dvprintf (("Log", format, p));
va_end (p);
}
#endif
/*---------------------------------------------------------------------------*/
/* Callouts */
/*---------------------------------------------------------------------------*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment