diff options
author | Mark Kriegsman <kriegsman@tr.org> | 2014-10-06 22:48:59 +0400 |
---|---|---|
committer | Mark Kriegsman <kriegsman@tr.org> | 2014-10-06 22:48:59 +0400 |
commit | 8aa1405052a2716f65f5bd524cc6c52912d2371e (patch) | |
tree | 3c7379e13e7ae694c5d9d12fb1a8a79fed44f787 | |
parent | 73989e3f0bd417fd5746292ca73fe27aa6fc7cc9 (diff) |
change 'byte' to 'uint8_t'
-rw-r--r-- | examples/NoisePlusPalette/NoisePlusPalette.ino | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/NoisePlusPalette/NoisePlusPalette.ino b/examples/NoisePlusPalette/NoisePlusPalette.ino index 2d4349e4..bca6698c 100644 --- a/examples/NoisePlusPalette/NoisePlusPalette.ino +++ b/examples/NoisePlusPalette/NoisePlusPalette.ino @@ -93,7 +93,7 @@ void fillnoise8() { for(int j = 0; j < MAX_DIMENSION; j++) { int joffset = scale * j; - byte data = inoise8(x + ioffset,y + joffset,z); + uint8_t data = inoise8(x + ioffset,y + joffset,z); // The range of the inoise8 function is roughly 16-240. // These two operations expand those values out to roughly 0..255 |