src/test.cpp
changeset 13 69f1fcfdf6a5
parent 12 7268128148b8
child 15 e5b84f315be7
     1.1 --- a/src/test.cpp	Thu May 22 07:16:55 2014 +0200
     1.2 +++ b/src/test.cpp	Thu May 22 07:30:05 2014 +0200
     1.3 @@ -197,10 +197,11 @@
     1.4  	onRescan(NULL, 0, NULL);
     1.5  
     1.6  	//Just testing our new VFD class
     1.7 -	iVfd01.Open();
     1.8 -	iVfd01.SetAllPixels(true);
     1.9 -	iVfd01.Close();
    1.10 -
    1.11 +	if (iVfd01.Open())
    1.12 +        {
    1.13 +	    iVfd01.SetAllPixels(true);
    1.14 +	    iVfd01.Close();
    1.15 +        }
    1.16  
    1.17  #ifdef __APPLE__
    1.18  	init_apple_message_system();