mirror of https://github.com/m-labs/artiq.git
runtime/rtio: reverse char ordering in log messages
This commit is contained in:
parent
50a463a6fd
commit
048dcbee92
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue