diff --git a/epicardium/modules/bme680.c b/epicardium/modules/bme680.c
index 9bf589c2807262f537c08a68c6389bea9473718b..fbdbcea7bd8e80a0d53843a1cb446b90b9df1fb3 100644
--- a/epicardium/modules/bme680.c
+++ b/epicardium/modules/bme680.c
@@ -172,6 +172,10 @@ int epic_bme680_read_sensors(struct bme680_sensor_data *data)
 		return -EINVAL;
 	}
 
+	if(data == NULL) {
+		return -EFAULT;
+	}
+
 	uint16_t profile_dur = 0;
 	bme680_get_profile_dur(&profile_dur, &bme);