File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
example-scd41-single-shot Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -62,17 +62,14 @@ int main(void) {
6262 error = scd4x_wake_up ();
6363 if (error != NO_ERROR ) {
6464 printf ("error executing wake_up(): %i\n" , error );
65- return error ;
6665 }
6766 error = scd4x_stop_periodic_measurement ();
6867 if (error != NO_ERROR ) {
6968 printf ("error executing stop_periodic_measurement(): %i\n" , error );
70- return error ;
7169 }
7270 error = scd4x_reinit ();
7371 if (error != NO_ERROR ) {
7472 printf ("error executing reinit(): %i\n" , error );
75- return error ;
7673 }
7774 // Read out information about the sensor
7875 error = scd4x_get_serial_number (serial_number , 3 );
Original file line number Diff line number Diff line change @@ -62,17 +62,14 @@ int main(void) {
6262 error = scd4x_wake_up ();
6363 if (error != NO_ERROR ) {
6464 printf ("error executing wake_up(): %i\n" , error );
65- return error ;
6665 }
6766 error = scd4x_stop_periodic_measurement ();
6867 if (error != NO_ERROR ) {
6968 printf ("error executing stop_periodic_measurement(): %i\n" , error );
70- return error ;
7169 }
7270 error = scd4x_reinit ();
7371 if (error != NO_ERROR ) {
7472 printf ("error executing reinit(): %i\n" , error );
75- return error ;
7673 }
7774 // Read out information about the sensor
7875 error = scd4x_get_serial_number (serial_number , 3 );
You can’t perform that action at this time.
0 commit comments