blob: 4c6b7df3a4d497e090fbf9e681d1f63182e13466 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* sbc_harness/tusb_log.c - Logger for tusb_config.h
*
* Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#define LOG_NAME TINY_USB
#include <libmisc/log.h>
void _libmisc_tu_mess_failed(const char *expr,
const char *file, unsigned int line, const char *func) {
errorf("%s:%u:%s(): assertion \"%s\" failed",
file, line, func,
expr);
}
|