Skip to content

Commit a57c3ca

Browse files
committed
add comment for potential AVR bug
1 parent b3b6275 commit a57c3ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/base_classes/FOCMotor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ int FOCMotor::characteriseMotor(float voltage, float correction_factor=1.0f){
171171
unsigned int iterations = 40; // how often the algorithm gets repeated.
172172
unsigned int cycles = 3; // averaged measurements for each iteration
173173
unsigned int risetime_us = 200; // initially short for worst case scenario with low inductance
174-
unsigned int settle_us = 100000; // initially long for worst case scenario with high inductance
174+
unsigned int settle_us = 100000; // TODO out of range for ATMega // initially long for worst case scenario with high inductance
175175

176176
// Pre-rotate the angle to the q-axis (only useful with sensor, else no harm in doing it)
177177
current_electric_angle += 0.5f * _PI;

0 commit comments

Comments
 (0)