Mercurial > public > ostc4
comparison Small_CPU/Src/spi.c @ 244:c20c73b0d034
Merged in janlmulder/ostc4/div-fixes-5 (pull request #15)
Improvement SPI stability/recoverability and cleanup, and trivial bugfixes
author | heinrichsweikamp <bitbucket@heinrichsweikamp.com> |
---|---|
date | Tue, 09 Apr 2019 08:52:44 +0000 |
parents | e4207f0aaa4b |
children | b3685fbada3b |
comparison
equal
deleted
inserted
replaced
236:ad6ddc4aabcd | 244:c20c73b0d034 |
---|---|
380 } | 380 } |
381 | 381 |
382 global.dataSendToMaster.power_on_reset = 0; | 382 global.dataSendToMaster.power_on_reset = 0; |
383 global.deviceDataSendToMaster.power_on_reset = 0; | 383 global.deviceDataSendToMaster.power_on_reset = 0; |
384 | 384 |
385 //TODO:REMOVE | |
386 // if ( !global.dataSendToSlaveStopEval ) { | |
387 // scheduleSpecial_Evaluate_DataSendToSlave(); | |
388 // } | |
389 scheduleSpecial_Evaluate_DataSendToSlave(); | 385 scheduleSpecial_Evaluate_DataSendToSlave(); |
390 | 386 |
391 SPI_Start_single_TxRx_with_Master(); | 387 SPI_Start_single_TxRx_with_Master(); |
392 } | 388 } |
393 | 389 |