Skip to content

Commit 23f22e1

Browse files
author
Michael Haberler
committed
fix type error on comparison
1 parent f5f02d4 commit 23f22e1

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)