<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/3170#discussion_r32126912">cpu/sam3x8e/periph/pwm.c</a>:</p>
<pre style='color:#555'>> +            chan = PWM_0_DEV_CH6;
> +            break;
> +#endif
> +#if PWM_0_CHANNELS > 7
> +
> +        case 7:
> +            chan = PWM_0_DEV_CH7;
> +            break;
> +#endif
> +
> +        default:
> +            ;
> +    }
> +
> +    if (chan) {
> +        period = chan->PWM_CPRD & PWM_MAX_VALUE;
</pre>
<p>Also, thanks for pointing me at this code region, as I detected two other issues. I'm allowed/supposed to add notes to my own PR, I assume?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/RIOT-OS/RIOT/pull/3170/files#r32126912">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AEn7YKfUMyqsHxgCyM5qtqK2RGZSw9eWks5oSEkRgaJpZM4E5xxI.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/RIOT-OS/RIOT/pull/3170/files#r32126912"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>