We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff0e1fb + 5225561 commit 251fb50Copy full SHA for 251fb50
AxxSolder_firmware/Core/Src/main.c
@@ -42,7 +42,7 @@
42
/* USER CODE BEGIN PTD */
43
uint8_t fw_version_major = 3;
44
uint8_t fw_version_minor = 4;
45
-uint8_t fw_version_patch = 1;
+uint8_t fw_version_patch = 2;
46
47
//#define PID_TUNING
48
DEBUG_VERBOSITY_t debugLevel = DEBUG_INFO;
AxxSolder_firmware/Drivers/LCD/lcd.c
@@ -311,6 +311,15 @@ void LCD_SetRotation(uint8_t m)
311
break;
312
}
313
LCD_WriteCommand(cmd, sizeof(cmd)-1);
314
+ //Add a piece to correctly render the UG_FillScreen() function.
315
+ // Display size update
316
+ if (m % 2 == 1) {
317
+ device.x_dim = LCD_HEIGHT;
318
+ device.y_dim = LCD_WIDTH;
319
+ } else {
320
+ device.x_dim = LCD_WIDTH;
321
+ device.y_dim = LCD_HEIGHT;
322
+ }
323
324
325
0 commit comments