fix warning with lpcopen

This commit is contained in:
hathach
2018-12-07 13:22:12 +07:00
parent 89820a36a1
commit f769ecddaf
35 changed files with 58 additions and 28 deletions
+2 -2
View File
@@ -82,10 +82,10 @@ typedef enum {
} TRANSFER_BLOCK_T;
/** Pointer to Function returning Void (any number of parameters) */
typedef void (*PFV)(void);
// typedef void (*PFV)();
/** Pointer to Function returning int32_t (any number of parameters) */
typedef int32_t (*PFI)(void);
// typedef int32_t (*PFI)();
/**
* @}
@@ -328,6 +328,7 @@ uint32_t Chip_Clock_GetSYSCLKRate(void)
case (uint32_t) SYSCTL_PLLCLKSRC_RTC:
return Chip_Clock_GetRTCOscRate();
#endif
default: break;
}
return 0;
}