forked from M-Labs/artiq
1
0
Fork 0

runtime: use new uart tuning word function

This commit is contained in:
Sebastien Bourdeauducq 2015-03-02 23:36:05 +00:00
parent 4e5320be28
commit 15d09c0b94
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ void comm_serve(object_loader load_object, kernel_runner run_kernel)
ftw = ((long long)receive_int() << 32LL)/(long long)identifier_frequency_read();
send_int(0x5a5a5a5a);
uart_sync();
uart_tuning_word_write(ftw);
uart_phy_tuning_word_write(ftw);
} else if(msgtype == MSGTYPE_SWITCH_CLOCK) {
rtiocrg_clock_sel_write(receive_char());
send_char(MSGTYPE_CLOCK_SWITCH_COMPLETED);