summaryrefslogtreecommitdiffhomepage
path: root/source/Core/BSP/Pinecilv2/configuration.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Core/BSP/Pinecilv2/configuration.h')
-rw-r--r--source/Core/BSP/Pinecilv2/configuration.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/source/Core/BSP/Pinecilv2/configuration.h b/source/Core/BSP/Pinecilv2/configuration.h
index 3683b085..5297f3a4 100644
--- a/source/Core/BSP/Pinecilv2/configuration.h
+++ b/source/Core/BSP/Pinecilv2/configuration.h
@@ -160,10 +160,16 @@
#define HALL_SI7210
#define DEBUG_UART_OUTPUT
#define HAS_POWER_DEBUG_MENU
-#define HARDWARE_MAX_WATTAGE_X10 750
-#define BLE_ENABLED
-#define NEEDS_VBUS_PROBE 0
-#define CANT_DIRECT_READ_SETTINGS
+#define HARDWARE_MAX_WATTAGE_X10 750
+#define BLE_ENABLED // We have a BLE stack
+#define NEEDS_VBUS_PROBE 0 // No vbus probe, its not connected in pcb
+#define CANT_DIRECT_READ_SETTINGS // We cant memcpy settings due to flash cache
+#define TIP_CONTROL_PID // We use PID rather than integrator
+#define TIP_PID_KP 45 // Reasonable compromise for most tips so far
+#define TIP_PID_KI 9 // About as high for stability across tips
+#define TIP_PID_KD 200 // Helps dampen smaller tips; ~= nothing for larger tips
+#define FILTER_DISPLAYED_TIP_TEMP 8 // Filtering for GUI display
+
#endif /* Pinecilv2 */
#define FLASH_PAGE_SIZE (1024) // Read pages