~aleteoryx/muditaos

ref: e1d2330172a90f748c0c4a19ab6ffcb21dfe06bb muditaos/module-gui/gui/widgets/screen.hpp -rw-r--r-- 391 bytes
e1d23301 — Lefucjusz [BH-000] Commit database migrations for 2.10.0 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md

//
// Created by pawelp on 13.05.2021.
//
#pragma once

#include <board.h>

constexpr unsigned getScreenResolutionX()
{
    return BOARD_EINK_DISPLAY_RES_X;
}

constexpr unsigned getScreenResolutionY()
{
    return BOARD_EINK_DISPLAY_RES_Y;
}