mirror of
https://github.com/hathach/tinyusb.git
synced 2025-12-01 12:24:17 +00:00
fix pre-commit
This commit is contained in:
@ -36,7 +36,7 @@ if rtconfig.PLATFORM == 'gcc' or rtconfig.PLATFORM == 'armclang': # GCC or Keil
|
|||||||
LOCAL_CFLAGS += ' -std=c99'
|
LOCAL_CFLAGS += ' -std=c99'
|
||||||
elif rtconfig.PLATFORM == 'armcc': # Keil AC5
|
elif rtconfig.PLATFORM == 'armcc': # Keil AC5
|
||||||
LOCAL_CFLAGS += ' --c99 --gnu'
|
LOCAL_CFLAGS += ' --c99 --gnu'
|
||||||
|
|
||||||
group = DefineGroup('TinyUSB', src, depend = ['PKG_USING_TINYUSB'], CPPPATH = path, LOCAL_CFLAGS = LOCAL_CFLAGS)
|
group = DefineGroup('TinyUSB', src, depend = ['PKG_USING_TINYUSB'], CPPPATH = path, LOCAL_CFLAGS = LOCAL_CFLAGS)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|||||||
@ -106,7 +106,7 @@ bool tud_msc_start_stop_cb(uint8_t lun, uint8_t power_condition, bool start, boo
|
|||||||
// unload disk storage
|
// unload disk storage
|
||||||
ejected = true;
|
ejected = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user