Skip to content

Commit cd3989e

Browse files
mprsePrzemyslaw Stekiel
authored andcommitted
Add pwmout_init_direct() stub (fix for unittests)
1 parent 9b0c70f commit cd3989e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

UNITTESTS/stubs/pwmout_api_stub.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ void pwmout_init(pwmout_t *obj, PinName pin)
2121
{
2222
}
2323

24+
void pwmout_init_direct(pwmout_t *obj, const PinMap *pinmap)
25+
{
26+
}
27+
2428
void pwmout_free(pwmout_t *obj)
2529
{
2630
}

0 commit comments

Comments
 (0)