summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/alarm/AlarmController.cpp9
-rw-r--r--src/components/alarm/AlarmController.h6
-rw-r--r--src/displayapp/screens/Alarm.cpp6
-rw-r--r--src/displayapp/screens/Alarm.h6
4 files changed, 22 insertions, 5 deletions
diff --git a/src/components/alarm/AlarmController.cpp b/src/components/alarm/AlarmController.cpp
index 31a31912..2532a4a1 100644
--- a/src/components/alarm/AlarmController.cpp
+++ b/src/components/alarm/AlarmController.cpp
@@ -1,13 +1,17 @@
-/* Copyright (C) 2021 JF, Adam Pigg, Avamander
+/* Copyright (C) 2021 mruss77, Florian
+
This file is part of InfiniTime.
+
InfiniTime is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
+
InfiniTime is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
@@ -28,8 +32,9 @@ APP_TIMER_DEF(alarmAppTimer);
namespace {
void SetOffAlarm(void* p_context) {
auto* controller = static_cast<Pinetime::Controllers::AlarmController*>(p_context);
- if (controller != nullptr)
+ if (controller != nullptr) {
controller->SetOffAlarmNow();
+ }
}
}
diff --git a/src/components/alarm/AlarmController.h b/src/components/alarm/AlarmController.h
index 140c9c80..7c43b89e 100644
--- a/src/components/alarm/AlarmController.h
+++ b/src/components/alarm/AlarmController.h
@@ -1,13 +1,17 @@
-/* Copyright (C) 2021 JF, Adam Pigg, Avamander
+/* Copyright (C) 2021 mruss77, Florian
+
This file is part of InfiniTime.
+
InfiniTime is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
+
InfiniTime is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
diff --git a/src/displayapp/screens/Alarm.cpp b/src/displayapp/screens/Alarm.cpp
index a2bb5c62..70d95fe8 100644
--- a/src/displayapp/screens/Alarm.cpp
+++ b/src/displayapp/screens/Alarm.cpp
@@ -1,13 +1,17 @@
-/* Copyright (C) 2021 JF, Adam Pigg, Avamander
+/* Copyright (C) 2021 mruss77, Florian
+
This file is part of InfiniTime.
+
InfiniTime is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
+
InfiniTime is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
diff --git a/src/displayapp/screens/Alarm.h b/src/displayapp/screens/Alarm.h
index 43bbc6f2..b36f7f98 100644
--- a/src/displayapp/screens/Alarm.h
+++ b/src/displayapp/screens/Alarm.h
@@ -1,13 +1,17 @@
-/* Copyright (C) 2021 JF, Adam Pigg, Avamander
+/* Copyright (C) 2021 mruss77, Florian
+
This file is part of InfiniTime.
+
InfiniTime is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
+
InfiniTime is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/