mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-11 04:45:45 +00:00
fix(core): remove unused function declaration
[no changelog]
This commit is contained in:
parent
4e8f69e96b
commit
7cbbfb2adc
@ -1,5 +1,23 @@
|
||||
#ifndef TREZOR_HAL_TOUCH_H
|
||||
#define TREZOR_HAL_TOUCH_H
|
||||
/*
|
||||
* This file is part of the Trezor project, https://trezor.io/
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <trezor_types.h>
|
||||
|
||||
@ -91,10 +109,3 @@ static inline uint16_t touch_unpack_y(uint32_t evt) {
|
||||
static inline uint32_t touch_pack_xy(uint16_t x, uint16_t y) {
|
||||
return ((x & 0xFFF) << 12) | (y & 0xFFF);
|
||||
}
|
||||
|
||||
// -------------------------
|
||||
// legacy:
|
||||
|
||||
uint32_t touch_is_detected(void);
|
||||
|
||||
#endif //_TOUCH_H
|
||||
|
Loading…
Reference in New Issue
Block a user