[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r9255 - gnuradio/branches/developers/trondeau/dbs/usrp
From: |
trondeau |
Subject: |
[Commit-gnuradio] r9255 - gnuradio/branches/developers/trondeau/dbs/usrp/host/lib/legacy |
Date: |
Tue, 12 Aug 2008 14:01:26 -0600 (MDT) |
Author: trondeau
Date: 2008-08-12 14:01:25 -0600 (Tue, 12 Aug 2008)
New Revision: 9255
Modified:
gnuradio/branches/developers/trondeau/dbs/usrp/host/lib/legacy/usrp_prims.cc
Log:
fixed const char warning -- cc file
Modified:
gnuradio/branches/developers/trondeau/dbs/usrp/host/lib/legacy/usrp_prims.cc
===================================================================
---
gnuradio/branches/developers/trondeau/dbs/usrp/host/lib/legacy/usrp_prims.cc
2008-08-12 19:58:55 UTC (rev 9254)
+++
gnuradio/branches/developers/trondeau/dbs/usrp/host/lib/legacy/usrp_prims.cc
2008-08-12 20:01:25 UTC (rev 9255)
@@ -58,8 +58,8 @@
USRP_HASH_SLOT_1_ADDR
};
-static char *default_firmware_filename = "std.ihx";
-static char *default_fpga_filename = "std_2rxhb_2tx.rbf";
+static const char *default_firmware_filename = "std.ihx";
+static const char *default_fpga_filename = "std_2rxhb_2tx.rbf";
#include "std_paths.h"
#include <stdio.h>
@@ -67,7 +67,7 @@
static char *
find_file (const char *filename, int hw_rev)
{
- char **sp = std_paths;
+ const char **sp = std_paths;
static char path[1000];
char *s;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r9255 - gnuradio/branches/developers/trondeau/dbs/usrp/host/lib/legacy,
trondeau <=