Fix typo in src/modules/can.c
var -> val.
Fix typo in src/modules/pwm.c
var -> val.