Removed OS125 reconfig call from i2c_bst

This commit is contained in:
blckmn 2016-06-25 21:29:18 +10:00
parent 499d7522c2
commit a28a2d2881
1 changed files with 4 additions and 3 deletions

View File

@ -1545,7 +1545,6 @@ void taskBstMasterProcess(void)
bstMasterWriteLoop();
if (isRebootScheduled) {
stopMotors();
handleOneshotFeatureChangeOnRestart();
systemReset();
}
resetBstChecker();
@ -1555,12 +1554,14 @@ void taskBstMasterProcess(void)
static uint8_t masterWriteBufferPointer;
static uint8_t masterWriteData[DATA_BUFFER_SIZE];
static void bstMasterStartBuffer(uint8_t address) {
static void bstMasterStartBuffer(uint8_t address)
{
masterWriteData[0] = address;
masterWriteBufferPointer = 2;
}
static void bstMasterWrite8(uint8_t data) {
static void bstMasterWrite8(uint8_t data)
{
masterWriteData[masterWriteBufferPointer++] = data;
masterWriteData[1] = masterWriteBufferPointer;
}