aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lv_conf_internal.h9
-rw-r--r--src/misc/lv_area.h7
-rw-r--r--src/widgets/chart/lv_chart.h6
3 files changed, 3 insertions, 19 deletions
diff --git a/src/lv_conf_internal.h b/src/lv_conf_internal.h
index 9b485ba34..c0e14cebf 100644
--- a/src/lv_conf_internal.h
+++ b/src/lv_conf_internal.h
@@ -876,15 +876,6 @@
#endif
#endif
-/*Extend the default -32k..32k coordinate range to -4M..4M by using int32_t for coordinates instead of int16_t*/
-#ifndef LV_USE_LARGE_COORD
- #ifdef CONFIG_LV_USE_LARGE_COORD
- #define LV_USE_LARGE_COORD CONFIG_LV_USE_LARGE_COORD
- #else
- #define LV_USE_LARGE_COORD 0
- #endif
-#endif
-
/* Use `float` as `lv_value_precise_t` */
#ifndef LV_USE_FLOAT
#ifdef CONFIG_LV_USE_FLOAT
diff --git a/src/misc/lv_area.h b/src/misc/lv_area.h
index de7217438..f105ac4a9 100644
--- a/src/misc/lv_area.h
+++ b/src/misc/lv_area.h
@@ -21,16 +21,13 @@ extern "C" {
* DEFINES
*********************/
-#if LV_USE_LARGE_COORD
-typedef int32_t lv_coord_t;
-#else
-typedef int16_t lv_coord_t;
-#endif
/**********************
* TYPEDEFS
**********************/
+typedef int32_t lv_coord_t;
+
/**
* Represents a point on the screen.
*/
diff --git a/src/widgets/chart/lv_chart.h b/src/widgets/chart/lv_chart.h
index 9ba008cdd..b4b0812dc 100644
--- a/src/widgets/chart/lv_chart.h
+++ b/src/widgets/chart/lv_chart.h
@@ -22,11 +22,7 @@ extern "C" {
*********************/
/**Default value of points. Can be used to not draw a point*/
-#if LV_USE_LARGE_COORD
-#define LV_CHART_POINT_NONE (INT32_MAX)
-#else
-#define LV_CHART_POINT_NONE (INT16_MAX)
-#endif
+#define LV_CHART_POINT_NONE (INT32_MAX)
LV_EXPORT_CONST_INT(LV_CHART_POINT_NONE);
/**********************