Mercurial > public > ostc4
comparison Discovery/Src/tHome.c @ 84:e6abbef57475 kittz
Remove unusable code!!! prepare data for SPI in ONLY 1 IRQ!!!!
author | Dmitry Romanov <kitt@bk.ru> |
---|---|
date | Wed, 21 Nov 2018 10:25:15 +0300 |
parents | a6f0881074a4 |
children | 6a2308b9a3d4 |
comparison
equal
deleted
inserted
replaced
83:ef4f45df70c1 | 84:e6abbef57475 |
---|---|
453 Gfx_write_label_var(ScreenToWriteOn, 600,800, 30,&FontT24,CLUT_ButtonSymbols,text); | 453 Gfx_write_label_var(ScreenToWriteOn, 600,800, 30,&FontT24,CLUT_ButtonSymbols,text); |
454 | 454 |
455 snprintf(text,10,"\002%X%X%X%X",dataIn->footer.checkCode[0],dataIn->footer.checkCode[1],dataIn->footer.checkCode[2],dataIn->footer.checkCode[3]); | 455 snprintf(text,10,"\002%X%X%X%X",dataIn->footer.checkCode[0],dataIn->footer.checkCode[1],dataIn->footer.checkCode[2],dataIn->footer.checkCode[3]); |
456 Gfx_write_label_var(ScreenToWriteOn, 600,800, 60,&FontT24,CLUT_ButtonSymbols,text); | 456 Gfx_write_label_var(ScreenToWriteOn, 600,800, 60,&FontT24,CLUT_ButtonSymbols,text); |
457 | 457 |
458 snprintf(text,10,"---"); | 458 snprintf(text,10,"cpt:\002%i",get_num_SPI_CALLBACKS()); |
459 Gfx_write_label_var(ScreenToWriteOn, 600,800, 90,&FontT24,CLUT_ButtonSymbols,text); | 459 Gfx_write_label_var(ScreenToWriteOn, 600,800, 90,&FontT24,CLUT_ButtonSymbols,text); |
460 | |
461 snprintf(text,10,"cpt:\002%i",get_num_SPI_CALLBACKS()); | |
462 Gfx_write_label_var(ScreenToWriteOn, 600,800, 120,&FontT24,CLUT_ButtonSymbols,text); | |
463 | 460 |
464 // snprintf(text,10,"i2c:\002%i",get_DataEX_Error_place()); | 461 // snprintf(text,10,"i2c:\002%i",get_DataEX_Error_place()); |
465 // Gfx_write_label_var(ScreenToWriteOn, 600,800, 90,&FontT24,CLUT_ButtonSymbols,text); | 462 // Gfx_write_label_var(ScreenToWriteOn, 600,800, 90,&FontT24,CLUT_ButtonSymbols,text); |
466 | 463 |
467 return DataEX_lost_connection_count(); | 464 return DataEX_lost_connection_count(); |