增加两个出口的日志。奇怪都不见到日志了

This commit is contained in:
anod 2023-01-18 15:57:38 +08:00
parent e4cc944139
commit bba6664788

View File

@ -290,10 +290,12 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
if( pathlen + filelen > DIRBUFFSIZE - 1)
{
fsQuickWrite("serial.txt", "00", 2);
return WAIT_ON_ERRPAGE( display_toolong );
}
else if( ENT_TYPE_DIR == dList->ptrs[index][0] )
{
fsQuickWrite("serial.txt", "11", 2);
return WAIT_ON_ERRPAGE( display_empty );
}