some format changes

This commit is contained in:
KlausMu 2024-04-16 13:19:32 +02:00
parent ef12879b0d
commit 62386efa4d
2 changed files with 3 additions and 5 deletions

View file

@ -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/

View file

@ -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,