error in pwmdriver.c