heatgun icon indicating copy to clipboard operation
heatgun copied to clipboard

STM32 controller for cheap Chinese handle

Results 1 heatgun issues
Sort by recently updated
recently updated
newest added

I want to reuse the code of function addModeChangedCallback, (https://github.com/PTDreamer/heatgun/blob/167bac1dbc2e882feef456b81d40e7900f00f8f1/Src/gun.c#LL124C27-L124C27). However, I find that there is potential problem: ``` void addModeChangedCallback(currentModeChanged callback) { currentModeChangedCallbackStruct_t *s = malloc(sizeof(currentModeChangedCallbackStruct_t)); s->callback = callback;...