unify text - step 1

This commit is contained in:
iceman1001 2025-03-25 10:12:16 +01:00
commit 875b3c44b4
40 changed files with 167 additions and 128 deletions

View file

@ -185,7 +185,9 @@ void FpgaSetupSsc(uint16_t fpga_mode) {
// ourselves, not to another buffer).
//-----------------------------------------------------------------------------
bool FpgaSetupSscDma(uint8_t *buf, uint16_t len) {
if (buf == NULL) return false;
if (buf == NULL) {
return false;
}
FpgaDisableSscDma();
AT91C_BASE_PDC_SSC->PDC_RPR = (uint32_t) buf; // transfer to this memory address