better error code
This commit is contained in:
parent
c14cfee9ae
commit
3102d877a6
|
@ -1888,7 +1888,7 @@ typedef enum {
|
|||
CUSTOM_ERR_LOGGING_NOT_READY = 6529,
|
||||
CUSTOM_ERR_6530 = 6530,
|
||||
CUSTOM_ERR_6531 = 6531,
|
||||
CUSTOM_ERR_6532 = 6532,
|
||||
CUSTOM_ERR_BUFF_INIT_ERROR = 6532,
|
||||
CUSTOM_ERR_6533 = 6533,
|
||||
CUSTOM_ERR_6534 = 6534,
|
||||
CUSTOM_ERR_6535 = 6535,
|
||||
|
|
|
@ -117,7 +117,7 @@ static void vappendPrintfI(Logging *logging, const char *fmt, va_list arg) {
|
|||
void vappendPrintf(Logging *logging, const char *fmt, va_list arg) {
|
||||
efiAssertVoid(getRemainingStack(chThdGetSelfX()) > 128, "lowstck#5b");
|
||||
if (!intermediateLoggingBufferInited) {
|
||||
firmwareError(CUSTOM_ERR_6532, "intermediateLoggingBufferInited not inited!");
|
||||
firmwareError(CUSTOM_ERR_BUFF_INIT_ERROR, "intermediateLoggingBufferInited not inited!");
|
||||
return;
|
||||
}
|
||||
int wasLocked = lockAnyContext();
|
||||
|
|
Loading…
Reference in New Issue