Skip to content

Commit 2bf339a

Browse files
committed
License header fix, add missing braces
1 parent bfe13d9 commit 2bf339a

4 files changed

Lines changed: 22 additions & 5 deletions

File tree

src/components/alarm/AlarmController.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
/* Copyright (C) 2021 JF, Adam Pigg, Avamander
1+
/* Copyright (C) 2021 mruss77, Florian
2+
23
This file is part of InfiniTime.
4+
35
InfiniTime is free software: you can redistribute it and/or modify
46
it under the terms of the GNU General Public License as published
57
by the Free Software Foundation, either version 3 of the License, or
68
(at your option) any later version.
9+
710
InfiniTime is distributed in the hope that it will be useful,
811
but WITHOUT ANY WARRANTY; without even the implied warranty of
912
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1013
GNU General Public License for more details.
14+
1115
You should have received a copy of the GNU General Public License
1216
along with this program. If not, see <https://www.gnu.org/licenses/>.
1317
*/
@@ -28,8 +32,9 @@ APP_TIMER_DEF(alarmAppTimer);
2832
namespace {
2933
void SetOffAlarm(void* p_context) {
3034
auto* controller = static_cast<Pinetime::Controllers::AlarmController*>(p_context);
31-
if (controller != nullptr)
35+
if (controller != nullptr) {
3236
controller->SetOffAlarmNow();
37+
}
3338
}
3439
}
3540

src/components/alarm/AlarmController.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
/* Copyright (C) 2021 JF, Adam Pigg, Avamander
1+
/* Copyright (C) 2021 mruss77, Florian
2+
23
This file is part of InfiniTime.
4+
35
InfiniTime is free software: you can redistribute it and/or modify
46
it under the terms of the GNU General Public License as published
57
by the Free Software Foundation, either version 3 of the License, or
68
(at your option) any later version.
9+
710
InfiniTime is distributed in the hope that it will be useful,
811
but WITHOUT ANY WARRANTY; without even the implied warranty of
912
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1013
GNU General Public License for more details.
14+
1115
You should have received a copy of the GNU General Public License
1216
along with this program. If not, see <https://www.gnu.org/licenses/>.
1317
*/

src/displayapp/screens/Alarm.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
/* Copyright (C) 2021 JF, Adam Pigg, Avamander
1+
/* Copyright (C) 2021 mruss77, Florian
2+
23
This file is part of InfiniTime.
4+
35
InfiniTime is free software: you can redistribute it and/or modify
46
it under the terms of the GNU General Public License as published
57
by the Free Software Foundation, either version 3 of the License, or
68
(at your option) any later version.
9+
710
InfiniTime is distributed in the hope that it will be useful,
811
but WITHOUT ANY WARRANTY; without even the implied warranty of
912
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1013
GNU General Public License for more details.
14+
1115
You should have received a copy of the GNU General Public License
1216
along with this program. If not, see <https://www.gnu.org/licenses/>.
1317
*/

src/displayapp/screens/Alarm.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
/* Copyright (C) 2021 JF, Adam Pigg, Avamander
1+
/* Copyright (C) 2021 mruss77, Florian
2+
23
This file is part of InfiniTime.
4+
35
InfiniTime is free software: you can redistribute it and/or modify
46
it under the terms of the GNU General Public License as published
57
by the Free Software Foundation, either version 3 of the License, or
68
(at your option) any later version.
9+
710
InfiniTime is distributed in the hope that it will be useful,
811
but WITHOUT ANY WARRANTY; without even the implied warranty of
912
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1013
GNU General Public License for more details.
14+
1115
You should have received a copy of the GNU General Public License
1216
along with this program. If not, see <https://www.gnu.org/licenses/>.
1317
*/

0 commit comments

Comments
 (0)