summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Reeder2018-08-02 13:51:07 -0500
committerJason Reeder2018-08-02 13:51:07 -0500
commit78e35d6b1535efb74317511cacd47b14db16249a (patch)
tree3bd4f6059028c9acfec068e30cdee2bef081bd95
parent7892557b0dbb4abead07dbbd85fc3e08874e651d (diff)
downloadtida01555-78e35d6b1535efb74317511cacd47b14db16249a.tar.gz
tida01555-78e35d6b1535efb74317511cacd47b14db16249a.tar.xz
tida01555-78e35d6b1535efb74317511cacd47b14db16249a.zip
More description user space app display output
Signed-off-by: Jason Reeder <jreeder@ti.com>
-rw-r--r--ARM_User_Space_App/arm_user_space_app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ARM_User_Space_App/arm_user_space_app.c b/ARM_User_Space_App/arm_user_space_app.c
index 68a87db..b8492c1 100644
--- a/ARM_User_Space_App/arm_user_space_app.c
+++ b/ARM_User_Space_App/arm_user_space_app.c
@@ -188,9 +188,9 @@ void *print_func(void *data)
188 /* Print each channel's min, max, and RMS values to the screen */ 188 /* Print each channel's min, max, and RMS values to the screen */
189 while (1) { 189 while (1) {
190 for(i = 0; i < NUM_CHANNELS/2; i++) { 190 for(i = 0; i < NUM_CHANNELS/2; i++) {
191 mvprintw(i, 0, "Ch%02d Vpp:[%.3f,%.3f]", i, min[i], max[i]); 191 mvprintw(i, 0, "D%d:C%d Vpp:[%.3f,%.3f] ", i/8+1, i%8, min[i], max[i]);
192 mvprintw(i, 28, "RMS:%.3f", result[i]); 192 mvprintw(i, 28, "RMS:%.3f", result[i]);
193 mvprintw(i, 39, "| Ch%02d Vpp:[%.3f,%.3f]", i+NUM_CHANNELS/2, min[i+NUM_CHANNELS/2], max[i+NUM_CHANNELS/2]); 193 mvprintw(i, 39, "| D%d:C%d Vpp:[%.3f,%.3f] ", (i+NUM_CHANNELS/2)/8+1, i%8, min[i+NUM_CHANNELS/2], max[i+NUM_CHANNELS/2]);
194 mvprintw(i, 69, "RMS:%.3f", result[i+NUM_CHANNELS/2]); 194 mvprintw(i, 69, "RMS:%.3f", result[i+NUM_CHANNELS/2]);
195 } 195 }
196 196