PEP emulation (didn't test yet)

This commit is contained in:
Edward Emelianov
2024-03-08 13:23:23 +03:00
parent 8ea835d80f
commit bc82142e87
17 changed files with 183 additions and 26 deletions

View File

@@ -46,7 +46,9 @@ user_conf the_conf = {
.adcmul[2] = 1.f,
.adcmul[3] = 1.f,
.usartspeed = 115200,
.flags = FLAGP(ENC_IS_SSI),
.encoderID = 8,
.limitsID = 0xe,
.flags = FLAGP(ENC_IS_SSI) /*| FLAGP(EMULATE_PEP)*/,
};
int currentconfidx = -1; // index of current configuration