Browse Source

pointer mixup

git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@7695 ddd99763-3ecb-0310-9145-efcb8ce7c51f
tags/zoom-1.0
jim 14 years ago
parent
commit
94a79e1964
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      firmware/mode_debug.c

+ 2
- 2
firmware/mode_debug.c View File

@@ -137,12 +137,12 @@ void run_debug(void)
case 'c':
case 'C':
uart1_put_string("old g_scale ");
uart1_put_hex32((uint32_t *)&g_scale);
uart1_put_hex32(*(uint32_t *)&g_scale);
uart1_crlf();
uart1_put_string("calibrating...\r\n");
do_calibrate();
uart1_put_string("new g_scale ");
uart1_put_hex32((uint32_t *)&g_scale);
uart1_put_hex32(*(uint32_t *)&g_scale);
uart1_crlf();
break;


Loading…
Cancel
Save