2018-02-26 13:06:10 +00:00
|
|
|
/*
|
2019-06-17 18:27:55 +00:00
|
|
|
* This file is part of the Trezor project, https://trezor.io/
|
2018-02-26 13:06:10 +00:00
|
|
|
*
|
|
|
|
* Copyright (c) SatoshiLabs
|
|
|
|
*
|
|
|
|
* This program 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.
|
|
|
|
*
|
|
|
|
* This program 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 <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2024-11-01 11:55:31 +00:00
|
|
|
#ifndef LIB_COMMON_H
|
2017-03-21 00:41:49 +00:00
|
|
|
|
2024-11-01 11:55:31 +00:00
|
|
|
// This header is included in storage modules that expect to find common
|
|
|
|
// functions like `ensure()`, `error_shutdown()`, or `hal_delay()`.
|
|
|
|
//
|
|
|
|
// Do not include this header or add dependencies to it unless required by
|
|
|
|
// storage.
|
2017-03-29 18:50:45 +00:00
|
|
|
|
2024-06-10 14:57:59 +00:00
|
|
|
#include "error_handling.h"
|
2024-07-12 09:35:49 +00:00
|
|
|
#include "systick.h"
|
2023-06-23 14:50:13 +00:00
|
|
|
|
2024-11-01 11:55:31 +00:00
|
|
|
#endif // LIB_COMMON_H
|