pwmout - UNITTESTS - add read methods for period and pulsewidth

pull/13492/head
talorion 2020-08-25 23:47:57 +02:00 committed by Gregor Mayramhof
parent f2bed4d582
commit 191ec42dd6
1 changed files with 10 additions and 0 deletions

View File

@ -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)
{
}
@ -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