Mercurial > public > ostc4
comparison Small_CPU/Src/spi.c @ 239:e4207f0aaa4b div-fixes-5
cleanup: factor out dataSendToSlaveStopEval
The global dataSendToSlaveStopEval was set all over the place, but never
tested, so useless to set it. And remove an unused piece of code. Trivial
cleanup.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Mon, 08 Apr 2019 10:35:29 +0200 |
parents | 9fc06e1e0f66 |
children | b3685fbada3b |
comparison
equal
deleted
inserted
replaced
238:a9d798e8c11f | 239:e4207f0aaa4b |
---|---|
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 |