build: Fix the warnings that break the tests

unused variable 'lfn'
    'isr_handler' defined but not used
    'servo_set_angle' defined but not used
    'gpio_test_signal' defined but not used
    'change_duty' defined but not used
This commit is contained in:
Anton Maklakov
2017-06-30 15:46:31 +08:00
parent 3cd10899e6
commit 3d1d4fe150
4 changed files with 20 additions and 14 deletions

View File

@@ -3673,8 +3673,9 @@ FRESULT f_sync (
FATFS *fs;
DWORD tm;
BYTE *dir;
#if _FS_EXFAT
DEF_NAMBUF
#endif
res = validate(&fp->obj, &fs); /* Check validity of the file object */
if (res == FR_OK) {