MCPcopy Create free account
hub / github.com/BruceDevices/firmware / resetCodesArray

Function resetCodesArray

src/modules/ir/custom_ir.cpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19static std::vector<IRCode *> codes;
20
21void resetCodesArray() {
22 for (auto code : codes) { delete code; }
23 codes.clear();
24}
25
26static std::vector<IRCode *> recent_ircodes;
27

Callers 3

txIrFileFunction · 0.85
otherIRcodesFunction · 0.85
chooseCmdIrFileFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected