Fixed PWM pointer names.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@21 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 23 years ago
parent 298485bf7c
commit 9896f024bc

@ -56,12 +56,12 @@ typedef volatile struct PWM_registers {
#define PWM_PWDUTY PWM_pointer->pwm_pwduty
#define PWM_PERVAL PWM_pointer->pwm_perval
#define PWM_CTRL0 PWM_pointer0->pwm_ctrl
#define PWM_PWDUTY0 PWM_pointer0->pwm_pwduty
#define PWM_PERVAL0 PWM_pointer0->pwm_perval
#define PWM_CTRL0 PWM0_pointer->pwm_ctrl
#define PWM_PWDUTY0 PWM0_pointer->pwm_pwduty
#define PWM_PERVAL0 PWM0_pointer->pwm_perval
#define PWM_CTRL1 PWM_pointer1->pwm_ctrl
#define PWM_PWDUTY1 PWM_pointer1->pwm_pwduty
#define PWM_PERVAL1 PWM_pointer1->pwm_perval
#define PWM_CTRL1 PWM1_pointer->pwm_ctrl
#define PWM_PWDUTY1 PWM1_pointer->pwm_pwduty
#define PWM_PERVAL1 PWM1_pointer->pwm_perval
#endif /* PXA2X0_PWM_H */

Loading…
Cancel
Save