mirror of https://github.com/ARMmbed/mbed-os.git
pwmout - UNITTESTS - add read methods for period and pulsewidth
parent
f2bed4d582
commit
191ec42dd6
|
@ -51,6 +51,11 @@ void pwmout_period_us(pwmout_t *obj, int us)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int pwmout_read_period_us(pwmout_t *obj)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
void pwmout_pulsewidth(pwmout_t *obj, float seconds)
|
void pwmout_pulsewidth(pwmout_t *obj, float seconds)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -63,4 +68,9 @@ void pwmout_pulsewidth_us(pwmout_t *obj, int us)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int pwmout_read_pulsewidth_us(pwmout_t *obj)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
#endif // DEVICE_PWMOUT
|
#endif // DEVICE_PWMOUT
|
||||||
|
|
Loading…
Reference in New Issue