GitLab has been upgraded to 13.3.6. If you encounter any issues mail code@riscosopen.org

Commit d6c472a5 authored by ROOL's avatar ROOL 🤖

Debug build fix

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

Version 0.33. Tagged as 'MUSBDriver-0_33'
parent 3e8f7ee2
......@@ -33,7 +33,7 @@ CDEFINES += -DKERNEL -D_KERNEL -Dpaddr_t=int -D__P(A)=A -DKLD_MODULE -DDIS
#
DEBUG ?= FALSE
ifeq (${DEBUG},TRUE)
CFLAGS += -DDEBUGLIB -DMUSB_DEBUG
CFLAGS += -DDEBUGLIB -DMUSB_DEBUG -DUSB_DEBUG
CMHGDEFINES += -DMUSB_DEBUG
LIBS += ${NET5LIBS}
endif
......
/* (0.32)
/* (0.33)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.32
#define Module_MajorVersion_CMHG 0.33
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 23 Sep 2017
#define Module_Date_CMHG 18 Nov 2017
#define Module_MajorVersion "0.32"
#define Module_Version 32
#define Module_MajorVersion "0.33"
#define Module_Version 33
#define Module_MinorVersion ""
#define Module_Date "23 Sep 2017"
#define Module_Date "18 Nov 2017"
#define Module_ApplicationDate "23-Sep-17"
#define Module_ApplicationDate "18-Nov-17"
#define Module_ComponentName "MUSBDriver"
#define Module_ComponentPath "mixed/RiscOS/Sources/HWSupport/USB/Controllers/MUSBDriver"
#define Module_FullVersion "0.32"
#define Module_HelpVersion "0.32 (23 Sep 2017)"
#define Module_LibraryVersionInfo "0:32"
#define Module_FullVersion "0.33"
#define Module_HelpVersion "0.33 (18 Nov 2017)"
#define Module_LibraryVersionInfo "0:33"
......@@ -219,6 +219,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