Mercurial > public > ostc4
comparison Small_CPU/Src/spi.c @ 696:cc542448fb28
Merge
author | heinrichsweikamp |
---|---|
date | Fri, 19 Aug 2022 11:30:24 +0200 |
parents | 1b995079c045 |
children | 8f3a8c85a6c4 |
comparison
equal
deleted
inserted
replaced
661:87bee7cc77b3 | 696:cc542448fb28 |
---|---|
348 | 348 |
349 SPIDataRX = 1; | 349 SPIDataRX = 1; |
350 | 350 |
351 /* stop data exchange? */ | 351 /* stop data exchange? */ |
352 if (global.mode == MODE_SHUTDOWN) { | 352 if (global.mode == MODE_SHUTDOWN) { |
353 global.mode = MODE_SLEEP; | |
354 global.dataSendToSlavePending = 0; | 353 global.dataSendToSlavePending = 0; |
355 global.dataSendToSlaveIsValid = 1; | 354 global.dataSendToSlaveIsValid = 1; |
356 global.dataSendToSlaveIsNotValidCount = 0; | 355 global.dataSendToSlaveIsNotValidCount = 0; |
357 } | 356 } |
358 } | 357 } |