diff options
| author | Christoph Honal <christoph.honal@web.de> | 2022-05-10 21:46:36 +0200 |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2022-06-27 08:28:48 +0300 |
| commit | 8b0559c4812d74b6307757135622975523c5a88d (patch) | |
| tree | ad5a5f2e328f8d406a24e74c0d31d9ba2b723671 /src/drivers | |
| parent | bab86633a00c58ff01b7866cc600aabb2208b6e3 (diff) | |
Add basic hardware configuration options for P8
This enables the configuration of the LFCLK source,
as well as the target hardware board pin configuration.
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/PinMap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/PinMap.h b/src/drivers/PinMap.h index 833c6477..a70cfc41 100644 --- a/src/drivers/PinMap.h +++ b/src/drivers/PinMap.h @@ -4,8 +4,8 @@ namespace Pinetime { namespace PinMap { -#ifdef WATCH_P8 - // COLMI P8 +#if defined(DRIVER_PINMAP_P8) + // COLMI P8 and variants static constexpr uint8_t Charging = 19; static constexpr uint8_t Cst816sReset = 13; static constexpr uint8_t Button = 17; |
