Skip to content

Commit

Permalink
Merge pull request #5227 from letscontrolit/build/shorten_path_revert
Browse files Browse the repository at this point in the history
[Build] Revert platform build to before shorten path commit
  • Loading branch information
TD-er authored Jan 17, 2025
2 parents d46c7d6 + 927c0ec commit cf2fbf8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 24 deletions.
5 changes: 3 additions & 2 deletions platformio_core_defs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ lib_extra_dirs =

; ESP_IDF 5.3.1
[core_esp32_IDF5_3_2__3_1_0_LittleFS]
platform = https://github.com/Jason2866/platform-espressif32.git
platform = https://github.com/Jason2866/platform-espressif32.git#44cb91bd1171b854c5055aef91b3819913ff7f02
;platform = https://github.com/Jason2866/platform-espressif32.git
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/3203/framework-arduinoespressif32-all-release_v5.3-ddc10306.zip
build_flags = -DESP32_STAGE
-DESP_IDF_VERSION_MAJOR=5
Expand Down Expand Up @@ -225,4 +226,4 @@ lib_extra_dirs =
; Regarding the define PR_9453_FLUSH_TO_CLEAR
; See:
; https://github.com/espressif/arduino-esp32/pull/8871/files
; https://github.com/espressif/arduino-esp32/pull/9453/files
; https://github.com/espressif/arduino-esp32/pull/9453/files
3 changes: 2 additions & 1 deletion platformio_esp32_solo1.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
; IDF 5.3.1
[esp32_solo1_common_LittleFS]
extends = esp32_base_idf5
platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF53
platform = https://github.com/Jason2866/platform-espressif32.git#44cb91bd1171b854c5055aef91b3819913ff7f02
;platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF53
platform_packages = framework-arduino-solo1 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/3204/framework-arduinoespressif32-solo1-release_v5.3-ddc10306.zip
build_flags = ${esp32_base_idf5.build_flags}
-DFEATURE_ARDUINO_OTA=1
Expand Down
28 changes: 7 additions & 21 deletions src/src/WebServer/Chart_JS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,28 +95,14 @@ void add_ChartJS_chart_header(
if (enableZoom) {
plugins = F(
"\"zoom\":"
"{"
"\"limits\":{"
"\"x\":{\"min\":\"original\",\"max\":\"original\",\"minRange\":1000}," // 1 sec min range
"},"
"\"pan\":{"
"\"enabled\":true,"
"\"mode\":\"x\","
"\"modifierKey\":\"ctrl\","
"},"
"{\"limits\":{"
"\"x\":{\"min\":\"original\",\"max\":\"original\",\"minRange\":1000}},"
"\"pan\":{\"enabled\":true,\"mode\":\"x\",\"modifierKey\":\"ctrl\"},"
"\"zoom\":{"
"\"wheel\":{"
"\"enabled\":true,"
"},"
"\"drag\":{"
"\"enabled\":true,"
"},"
"\"pinch\":{"
"\"enabled\":true"
"},"
"\"mode\":\"x\","
"}"
"}"
"\"wheel\":{\"enabled\":true},"
"\"drag\":{\"enabled\":true},"
"\"pinch\":{\"enabled\":true},"
"\"mode\":\"x\"}}"
);
}
add_ChartJS_chart_JSON_header(
Expand Down

0 comments on commit cf2fbf8

Please sign in to comment.