mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Fix inverted density select in Greaseweazle driver.
Pin 2 should be set high when high density is selected.
This commit is contained in:
@@ -515,7 +515,7 @@ public:
|
|||||||
{
|
{
|
||||||
do_command({ CMD_SELECT, 3, (uint8_t)drive });
|
do_command({ CMD_SELECT, 3, (uint8_t)drive });
|
||||||
do_command({ CMD_MOTOR, 4, (uint8_t)drive, 1 });
|
do_command({ CMD_MOTOR, 4, (uint8_t)drive, 1 });
|
||||||
do_command({ CMD_SET_PIN, 4, 2, (uint8_t)(high_density ? 0 : 1) });
|
do_command({ CMD_SET_PIN, 4, 2, (uint8_t)(high_density ? 1 : 0) });
|
||||||
}
|
}
|
||||||
|
|
||||||
void measureVoltages(struct voltages_frame* voltages)
|
void measureVoltages(struct voltages_frame* voltages)
|
||||||
|
|||||||
Reference in New Issue
Block a user