Skip to content

Commit d0b26f5

Browse files
authored
Merge pull request #87 from mhaberler/master
fix type error on comparison
2 parents f5f02d4 + 23f22e1 commit d0b26f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/esp32.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ static int ESP32Open(
479479
p->fp = fopen(zName, mode);
480480
}
481481

482-
if( p->fp<=0){
482+
if( p->fp == NULL){
483483
if (aBuf)
484484
sqlite3_free(aBuf);
485485
//Serial.println("Can't open");

0 commit comments

Comments
 (0)