Fix inverted density select in Greaseweazle driver.

Pin 2 should be set high when high density is selected.
This commit is contained in:
Thomas Daede
2021-11-28 19:30:42 -08:00
parent 1d32a4d984
commit ad96c9bb9f

View File

@@ -515,7 +515,7 @@ public:
{
do_command({ CMD_SELECT, 3, (uint8_t)drive });
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)