Fix iss#1492

Introduced lcd_strlen() and lcd_strlen_P().
Replaced the old functions where necessary.
Reworked language_ru.h.

Speeded up test for zero length string in cardreader.cpp
This commit is contained in:
AnHardt
2015-02-16 13:53:58 +01:00
parent 63a5ff7ab9
commit 6cdcd6c6d1
7 changed files with 61 additions and 36 deletions

View File

@ -65,7 +65,7 @@ void CardReader::lsDive(const char *prepend, SdFile parent, const char * const m
createFilename(lfilename,p);
path[0]=0;
if(strlen(prepend)==0) //avoid leading / if already in prepend
if(prepend[0]==0) //avoid leading / if already in prepend
{
strcat(path,"/");
}