mirror of
https://github.com/s00500/SimpleExpressions
synced 2024-12-03 13:01:29 +00:00
Update SimpleExpressions.cpp
This commit is contained in:
parent
5574f6f732
commit
6d19e4bd02
@ -29,7 +29,7 @@ void SimpleExpressionsClass::initBuzzer(int aBuzzerPin) {
|
||||
//-- MOUTHS ----------------------------------------//
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
void SimpleExpressionsClass::writeMouth(char mouthName[], int r, int g, int b) {
|
||||
void SimpleExpressionsClass::writeMouth(const char mouthName[], int r, int g, int b) {
|
||||
int number = -1;
|
||||
for(int i = 0; i < frameCount; i++){
|
||||
if(strncmp(shapes[i].name, mouthName, 20) == 0) {
|
||||
@ -54,7 +54,7 @@ void SimpleExpressionsClass::printMouth(int number, int r, int g, int b) {
|
||||
clearPixels();
|
||||
}
|
||||
|
||||
void SimpleExpressionsClass::writeMouth(char mouthName[] ) {
|
||||
void SimpleExpressionsClass::writeMouth(const char mouthName[] ) {
|
||||
int number = -1;
|
||||
for(int i = 0; i < colorFrameCount; i++){
|
||||
if(strncmp(shapes[i].name, mouthName, 20) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user