diff --git a/src/video/nv/nv3/nv3_core.c b/src/video/nv/nv3/nv3_core.c index c56551b14..e7e71961d 100644 --- a/src/video/nv/nv3/nv3_core.c +++ b/src/video/nv/nv3/nv3_core.c @@ -1060,7 +1060,9 @@ void nv3_close(void* priv) { // Shut down logging log_close(nv3->nvbase.log); +#ifdef ENABLE_NV_LOG nv_log_set_device(NULL); +#endif // Shut down I2C and the DDC ddc_close(nv3->nvbase.ddc);