error: #77-D: this declaration has no storage class or type specifier
error: #147: declaration is incompatible with "H_PCB *Task1PCB" (declared at line 13)
錯誤是結構體變量定義後,在函數外操作賦值,把它放進函數裏面就行了
搞了好久,才發現以前也犯過這種傻逼錯誤
錯誤代碼:
修改後:
error: #77-D: this declaration has no storage class or type specifier
error: #147: declaration is incompatible with "H_PCB *Task1PCB" (declared at line 13)
錯誤是結構體變量定義後,在函數外操作賦值,把它放進函數裏面就行了
搞了好久,才發現以前也犯過這種傻逼錯誤
錯誤代碼:
修改後: