Skip to content

Commit 8bb67ed

Browse files
committed
ili
1 parent 0bbf99d commit 8bb67ed

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

src/modm/driver/display/ili9341_parallel.hpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
* License, v. 2.0. If a copy of the MPL was not distributed with this
99
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
1010
*/
11-
#ifndef MODM_ILI9341_PARALLEL_HPP
12-
#define MODM_ILI9341_PARALLEL_HPP
13-
11+
#pragma once
1412
#include "ili9341.hpp"
1513

1614
namespace modm
@@ -87,6 +85,4 @@ using Ili9341Parallel = Ili9341<
8785
Ili9341ParallelInterface<Interface>,
8886
Reset, Backlight, BufferSize>;
8987

90-
} // namespace modm
91-
92-
#endif // MODM_ILI9341_PARALLEL_HPP
88+
} // namespace modm

src/modm/driver/display/ili9341_spi.hpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/*
22
* Copyright (c) 2019, Mike Wolfram
3+
* Copyright (c) 2021, Thomas Sommer
34
*
45
* This file is part of the modm project.
56
*
67
* This Source Code Form is subject to the terms of the Mozilla Public
78
* License, v. 2.0. If a copy of the MPL was not distributed with this
89
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
910
*/
10-
#ifndef MODM_ILI9341_SPI_HPP
11-
#define MODM_ILI9341_SPI_HPP
12-
11+
#pragma once
1312
#include "ili9341.hpp"
13+
1414
#include <modm/architecture/interface/spi_device.hpp>
1515
#include <modm/platform/spi/spi_base.hpp>
1616

@@ -133,6 +133,4 @@ using Ili9341Spi = Ili9341<
133133
Ili9341SPIInterface<SPI, Cs, Dc>,
134134
Reset, Backlight, BufferSize>;
135135

136-
} // namespace modm
137-
138-
#endif // MODM_ILI9341_SPI_HPP
136+
} // namespace modm

0 commit comments

Comments
 (0)