Mercurial > public > ostc4
comparison Small_CPU/Src/spi.c @ 662:1b995079c045 Betatest
PSCR Mode
author | heinrichs weikamp |
---|---|
date | Tue, 14 Dec 2021 15:36:10 +0100 |
parents | 84a4e1200726 |
children | 8f3a8c85a6c4 |
comparison
equal
deleted
inserted
replaced
661:87bee7cc77b3 | 662:1b995079c045 |
---|---|
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 } |