License header fix, add missing braces
This commit is contained in:
parent
bfe13d9d68
commit
2bf339a3f8
4 changed files with 22 additions and 5 deletions
|
@ -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,9 +32,10 @@ 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void AlarmController::Init(System::SystemTask* systemTask) {
|
||||
|
|
|
@ -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/>.
|
||||
*/
|
||||
|
|
|
@ -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/>.
|
||||
*/
|
||||
|
|
|
@ -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/>.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue