]> rtime.felk.cvut.cz Git - jenkicar/rpp-simulink.git/commitdiff
FlexRay library TX and RX blocks prints tuned
authorMichal Horn <hornmich@fel.cvut.cz>
Wed, 28 Aug 2013 19:32:00 +0000 (21:32 +0200)
committerMichal Horn <hornmich@fel.cvut.cz>
Wed, 28 Aug 2013 19:32:00 +0000 (21:32 +0200)
rpp/blocks/rpp_fr_lib.slx
rpp/blocks/tlc_c/sfunction_frayreceive.tlc
rpp/blocks/tlc_c/sfunction_fraytransmit.tlc

index 5f37c6119ae6ef4a0e480a6fb25e46862e86785a..5cd2d9861b78ad5a54478b9d5ac4a22b56f5c08b 100644 (file)
Binary files a/rpp/blocks/rpp_fr_lib.slx and b/rpp/blocks/rpp_fr_lib.slx differ
index ab87ad0ebc0d4a9dd7f3b43ce74c4b5232632955..c431ddc92442aead7ef3e6a600242bcf597f3a14 100644 (file)
                                %<length> = 0;
                        }
                        else {
+                               rpp_sci_printf("Message from slot %#x received:%#x\n", %<slotId_val>, rec_msg[0]);
                                %<trigger> = 1;
                                %<message> = rec_msg[0];
                                %<length> = rec_length;
index 06620bd49c94c757429e544a2ce2fbe63df22251..9ffd941354cc553203198cb0497c2c22ccd118ee 100644 (file)
@@ -82,7 +82,7 @@
            static_buffers_cfg[static_buffers_cnt].singleTransmit = %<singleTransmit_val>;
            static_buffers_cfg[static_buffers_cnt].slotId = %<slotId_val>;
                static_buffers_cnt++;
-               rpp_sci_printf("Buffer %d added.\n", static_buffers_cnt);
+               rpp_sci_printf("Tx buffer %d added.\n", static_buffers_cnt);
     %endif
 %endfunction