Skip to content

Commit

Permalink
runtime/rtio: reverse char ordering in log messages
Browse files Browse the repository at this point in the history
sbourdeauducq committed Dec 26, 2015
1 parent 50a463a commit 048dcbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions artiq/runtime/rtio.c
Original file line number Diff line number Diff line change
@@ -50,8 +50,8 @@ void rtio_log(long long int timestamp, char *message)
i = 0;
word = 0;
while(1) {
word >>= 8;
word |= *message << 24;
word <<= 8;
word |= *message & 0xff;
if(*message == 0) {
rtio_o_data_write(word);
rtio_o_we_write(1);

0 comments on commit 048dcbe

Please sign in to comment.