chore(radio): cleanup -Wzero-as-null-pointer-constant warnings (#4851)

This commit is contained in:
ThomasKuehne
2024-04-15 09:31:46 +10:00
committed by GitHub
parent 05d869e988
commit 8225fb21c5
17 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ void fatfsUnregisterDrivers()
for (uint8_t i = 0; i < _fatfs_n_drives; i++) {
auto& drive = _fatfs_drives[i];
if (drive.initialized) {
disk_ioctl(i, CTRL_SYNC, 0);
disk_ioctl(i, CTRL_SYNC, nullptr);
if (drive.drv->deinit) {
drive.drv->deinit(drive.lun);
}