[HUST CSE]fix logical error in judgment statement
This commit is contained in:
parent
56eafc52e8
commit
0ace6078e7
|
@ -987,7 +987,7 @@ static int DbgConsole_PrintfFormattedData(PUTCHAR_FUNC func_ptr, const char *fmt
|
|||
}
|
||||
else
|
||||
{
|
||||
if (0U == (flags_used & (uint32_t)kPRINTF_Pound))
|
||||
if (0U == (flags_used & (uint32_t)kPRINTF_Minus))
|
||||
{
|
||||
if (0U != (flags_used & (uint32_t)kPRINTF_Pound))
|
||||
{
|
||||
|
|
|
@ -988,7 +988,7 @@ static int DbgConsole_PrintfFormattedData(PUTCHAR_FUNC func_ptr, const char *fmt
|
|||
}
|
||||
else
|
||||
{
|
||||
if (0U == (flags_used & (uint32_t)kPRINTF_Pound))
|
||||
if (0U == (flags_used & (uint32_t)kPRINTF_Minus))
|
||||
{
|
||||
if (0U != (flags_used & (uint32_t)kPRINTF_Pound))
|
||||
{
|
||||
|
|
|
@ -988,7 +988,7 @@ static int DbgConsole_PrintfFormattedData(PUTCHAR_FUNC func_ptr, const char *fmt
|
|||
}
|
||||
else
|
||||
{
|
||||
if (0U == (flags_used & (uint32_t)kPRINTF_Pound))
|
||||
if (0U == (flags_used & (uint32_t)kPRINTF_Minus))
|
||||
{
|
||||
if (0U != (flags_used & (uint32_t)kPRINTF_Pound))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue