[riot-notifications] [RIOT] [WIP] cpu/sam3x8e: Add pwm implementation (#3170)

Peter Kietzmann notifications at github.com
Mon Jun 8 09:09:49 CEST 2015


> +     * Mode check.
> +     * Involves things that shold be in "periph_conf.h".
> +     * !Junk!Just wasting memory an a few cpu cycles for now. ;/
> +     */
> +    switch ( mode) {
> +    case PWM_LEFT:
> +        //!\todo
> +        break;
> +    case PWM_CENTER:
> +        //!\todo
> +        break;
> +    default:
> +        //retval = ERR_INIT_BWTH;
> +        // Don't like :/
> +        return ERR_INIT_BWTH;
> +    }

What happened to `PWM_RIGHT`?

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3170/files#r31890611
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150608/e196ea04/attachment.html>


More information about the notifications mailing list