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;
|
||||
}
|
||||
|
||||
case IR_PROTOCOL_SAMSUNG36:
|
||||
{
|
||||
case IR_PROTOCOL_SAMSUNG36: {
|
||||
auto current = commandPayloads.begin();
|
||||
std::string dataStr = *current;
|
||||
// https://cplusplus.com/reference/string/stoull/
|
||||
|
|
|
@ -5,8 +5,7 @@ void init_infraredSender_HAL(void) {
|
|||
}
|
||||
|
||||
// IR protocols
|
||||
enum IRprotocols
|
||||
{
|
||||
enum IRprotocols {
|
||||
IR_PROTOCOL_GC = 0,
|
||||
IR_PROTOCOL_NEC = 1,
|
||||
IR_PROTOCOL_SAMSUNG = 2,
|
||||
|
|
Loading…
Reference in a new issue