Allow rotation on boards other than Monster M4sk

This commit is contained in:
Phillip Burgess 2019-09-24 19:05:29 -07:00
parent fe4718011e
commit 5a476ec202

View file

@ -217,6 +217,7 @@ void loadConfig(char *filename) {
// it's only the size of the filenames and only during init. NBD.
if(iristv.is<char*>()) eye[e].iris.filename = strdup(iristv);
if(scleratv.is<char*>()) eye[e].sclera.filename = strdup(scleratv);
eye[e].rotation = rotation; // Might get override in per-eye code below
}
#if NUM_EYES > 1