* Revert pcb so it matches production files.

* Move original thoughts into attic.
* Update comments on firmware
This commit is contained in:
CNLohr
2023-04-22 23:29:10 -04:00
parent 8e027dbfc8
commit cc6365c1f4
8 changed files with 1101 additions and 1346 deletions

View File

@@ -306,12 +306,12 @@ int main()
while(1)
{
GPIOD->BSHR = 1<<6;
GPIOD->BSHR = (1<<(16+6));
uint32_t dmdword = *DMDATA0;
if( (dmdword & 0xf0) == 0x40 )
{
HandleCommand( dmdword );
}
GPIOD->BSHR = (1<<(16+6));
if( update_targ_based_on_vdd )
{
// target_feedback is in volts. 0..200 maps to the physical device voltage.