From: Jan "Yenya" Kasprzak Date: Wed, 27 Feb 2013 23:57:35 +0000 (+0100) Subject: pattern.c: num_pattern(10) is also allowed X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=13c33e02d7207ed1e9727ee84c61dc9857613bb4;p=bike-lights.git pattern.c: num_pattern(10) is also allowed --- diff --git a/firmware/pattern.c b/firmware/pattern.c index 03a7517..43a1150 100644 --- a/firmware/pattern.c +++ b/firmware/pattern.c @@ -113,8 +113,8 @@ void init_pattern() pattern_t *number_pattern(unsigned char num, unsigned char inv) { - if (num >= 9) - num = 9; + if (num >= 10) + num = 10; if (inv) { return pattern_invnum