fix pre-commit

This commit is contained in:
hathach 2024-04-25 11:28:18 +07:00
parent 5ee008c997
commit d664cbfcdd
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ if rtconfig.PLATFORM == 'gcc' or rtconfig.PLATFORM == 'armclang': # GCC or Keil
LOCAL_CFLAGS += ' -std=c99'
elif rtconfig.PLATFORM == 'armcc': # Keil AC5
LOCAL_CFLAGS += ' --c99 --gnu'
group = DefineGroup('TinyUSB', src, depend = ['PKG_USING_TINYUSB'], CPPPATH = path, LOCAL_CFLAGS = LOCAL_CFLAGS)
Return('group')

View File

@ -106,7 +106,7 @@ bool tud_msc_start_stop_cb(uint8_t lun, uint8_t power_condition, bool start, boo
// unload disk storage
ejected = true;
}
}
}
return true;
}