Skip to content

Commit

Permalink
Lower default SPI bus frequency to 30MHz.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjko committed Oct 8, 2023
1 parent ac3f425 commit 5008ce5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include($ENV{PICO_SDK_PATH}/external/pico_sdk_import.cmake)


project(fanpico
VERSION 1.5.0
VERSION 1.5.1
LANGUAGES C CXX ASM
)
set(CMAKE_C_STANDARD 11)
Expand Down
2 changes: 1 addition & 1 deletion src/display_lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ void lcd_display_init()
int dtype = LCD_INVALID;
int flags = FLAGS_NONE;
int orientation = LCD_ORIENTATION_90;
int32_t spi_freq = (48 * 1000 * 1000); // Default to 48MHz
int32_t spi_freq = 30000000; // Default SPI bus frequency 30MHz
const char *lcd_name = "";
int val;
char *args, *tok, *saveptr;
Expand Down

0 comments on commit 5008ce5

Please sign in to comment.