Skip to content

LipSync now cannot be compiled  #76

Description

@yoshipon

Describe the bug
Due to the recent change to use M5Unified, the library cannot be compiled with lipSync because it uses M5Core2.

To Reproduce
Compile the programs with lipSync for M5Stack Core2.

m5avatar::Avatar avt;

void setup() {
  ...
  avt.init();
  avt.addTask(m5avatar::lipSync, "lipSync");
}

Logs

In file included from C:\Users\xxx\m5stack-avatar\src/tasks/LipSync.h:10,
                 from C:\Users\yyy\stack_chan_ros\firmware\firmware.ino:9:
C:\Users\xxx\arduino_409486\src/M5Core2.h:138:20: error: conflicting declaration 'M5Core2 M5'
     extern M5Core2 M5;
                    ^~
In file included from C:\Users\yyy\stack_chan_ros\firmware\firmware.ino:1:
C:\Users\xxx\arduino_708812\src/M5Unified.hpp:243:22: note: previous declaration as 'm5::M5Unified M5'
 extern m5::M5Unified M5;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions