]> git.decadent.org.uk Git - ap-utils.git/blobdiff - lib/radio.c
Imported Upstream version 1.5~pre1
[ap-utils.git] / lib / radio.c
index 296bb40b992ed95c8b722af6e06da70811ba27ba..d96137e46df3d4b1f2a28999f1cefada8c22c2d8 100644 (file)
@@ -22,7 +22,6 @@
 #include <stdlib.h>
 #include <sys/types.h>
 #include "ap-utils.h"
-#include "ap-curses.h"
 
 #define RADIO_HELP _("[key] - power level; UIOP or LR - antenna; W - write config; Q - quit to menu")
 
@@ -118,7 +117,7 @@ void power()
     memcpy(power, varbinds[0].value, 14);
     antenna_vlen = varbinds[1].len_val;
 
-    print_title(_("Radio Configuration"));
+    print_top(NULL, _("Radio Configuration"));
     mvwaddstr(main_sub, 0, 1, _("Output RF signal power level (CR31 register values)"));
     mvwaddstr(main_sub, 1, 1, "---------------------------------------------------");
     mvwaddstr(main_sub, 2, 1, _("Key Channel Level"));
@@ -311,6 +310,7 @@ void power()
   exit:
     getch();
   quit:
-    print_title("");
+    print_top(NULL, NULL);
     clear_main(0);
 }
+