some format changes
This commit is contained in:
parent
ef12879b0d
commit
62386efa4d
2 changed files with 3 additions and 5 deletions
|
@ -131,8 +131,7 @@ void sendIRcode_HAL(int protocol, std::list<std::string> commandPayloads, std::s
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case IR_PROTOCOL_SAMSUNG36:
|
case IR_PROTOCOL_SAMSUNG36: {
|
||||||
{
|
|
||||||
auto current = commandPayloads.begin();
|
auto current = commandPayloads.begin();
|
||||||
std::string dataStr = *current;
|
std::string dataStr = *current;
|
||||||
// https://cplusplus.com/reference/string/stoull/
|
// https://cplusplus.com/reference/string/stoull/
|
||||||
|
|
|
@ -5,8 +5,7 @@ void init_infraredSender_HAL(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// IR protocols
|
// IR protocols
|
||||||
enum IRprotocols
|
enum IRprotocols {
|
||||||
{
|
|
||||||
IR_PROTOCOL_GC = 0,
|
IR_PROTOCOL_GC = 0,
|
||||||
IR_PROTOCOL_NEC = 1,
|
IR_PROTOCOL_NEC = 1,
|
||||||
IR_PROTOCOL_SAMSUNG = 2,
|
IR_PROTOCOL_SAMSUNG = 2,
|
||||||
|
|
Loading…
Add table
Reference in a new issue