[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] [PATCH] Fix error message
From: |
Simon Marchi |
Subject: |
[Simulavr-devel] [PATCH] Fix error message |
Date: |
Mon, 25 Jun 2018 20:26:49 -0400 |
When omitting the -d switch, simulavr prints:
... or insert '#insert <avr/signature.h>' into your source ...
it should be #include, not #insert.
---
src/avrfactory.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/avrfactory.cpp b/src/avrfactory.cpp
index 785a1e90a6ef..291ce442585c 100644
--- a/src/avrfactory.cpp
+++ b/src/avrfactory.cpp
@@ -52,7 +52,7 @@ AvrDevice* AvrFactory::makeDevice(const char *in) {
for(unsigned int i = 0; i < devname.size(); i++)
devname[i] = tolower(devname[i]);
if(devname == "unknown")
- avr_error("Device type not specified, use -d | --device TYPE or insert
'#insert <avr/signature.h>' into your source to specify device signature");
+ avr_error("Device type not specified, use -d | --device TYPE or insert
'#include <avr/signature.h>' into your source to specify device signature");
AVRDeviceMap::iterator i = devmap.find(devname);
if(i == devmap.end())
avr_error("Invalid device specification: %s", in);
--
2.17.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Simulavr-devel] [PATCH] Fix error message,
Simon Marchi <=