diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2011-12-15 07:18:22 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2016-09-25 08:11:48 +0200 |
commit | 888aa7c253e29fee4eb116c03370320e7fa29a79 (patch) | |
tree | 9117927748d93761bf7a1feb12234ac434d64717 /src/host/layer23/src/ui/ui.c | |
parent | 450a84eafc36e774045733c092a51aaa63bea862 (diff) |
[HACK] Display text from UI using framebuffer
Diffstat (limited to 'src/host/layer23/src/ui/ui.c')
-rw-r--r-- | src/host/layer23/src/ui/ui.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/host/layer23/src/ui/ui.c b/src/host/layer23/src/ui/ui.c index 5956b233..3e025805 100644 --- a/src/host/layer23/src/ui/ui.c +++ b/src/host/layer23/src/ui/ui.c @@ -106,7 +106,8 @@ int ui_flush(struct ui_inst *ui) // HACK struct gsm_ui *gui = container_of(ui, struct gsm_ui, ui); struct osmocom_ms *ms = container_of(gui, struct osmocom_ms, gui); - l1ctl_tx_display_req(ms, 0, i, ui->buffer + (UI_COLS + 1) * i); + l1ctl_tx_display_req(ms, 0, 8 + i * 8, 0, 0, 0, i == 0, i == UI_ROWS - 1, ui->buffer + (UI_COLS + 1) * i); + printf("%s\n", ui->buffer + (UI_COLS + 1) * i); } ui_telnet_puts(ui, line); } |