Make examples friendlier for non GCC compilers and fixed slave_mem_i2c.c to compile on boards without I2C pins (#336)
This commit is contained in:
@@ -83,9 +83,9 @@ void pattern_solid(uint len, uint t) {
|
||||
}
|
||||
}
|
||||
|
||||
int level = 8;
|
||||
|
||||
void pattern_fade(uint len, uint t) {
|
||||
const int level = 8;
|
||||
uint shift = 4;
|
||||
|
||||
uint max = 16; // let's not draw too much current!
|
||||
|
||||
Reference in New Issue
Block a user