這2個函數有可能在多個地方被重複呼叫,主要是在中斷時用到 .mcc_generated_files/LINDrivers/lin_master.c:230:: advisory: (1510) non-reentrant function "_LIN_getChecksum" appears in multiple call graphs and has been duplicated by the compiler mcc_generated_files/LINDrivers/lin_master.c:270:: advisory: (1510) non-reentrant function "_LIN_stopTimer" appears in multiple call graphs and has been duplicated by the compiler 解法:其中一個不呼叫直接放內容或呼叫改名例如LIN_stopTimer_init() 避免重覆設定 開始計時也要將計數器歸零(同接收問題)LIN_timerCallBack=0 這2個函數有可能在多個地方被重複呼叫(但不會同時使用,暫時先不修正) C:\Program Files\Microchip\xc8\v3.10\pic\sources\c99\common\memcpy.c:4:: advisory: (1510) non-reentrant function "_memcpy" appears in multiple call graphs and has been duplicated by the compiler C:\Program Files\Microchip\xc8\v3.10\pic\sources\c99\common\memset.c:3:: advisory: (1510) non-reentrant function "_memset" appears in multiple call graphs and has been duplicated by the compiler 要傳送的資料要放進SW_STATE_Date[]