diff --git a/extras/WProgram.h b/extras/WProgram.h index 1618789..e8e0541 100644 --- a/extras/WProgram.h +++ b/extras/WProgram.h @@ -28,3 +28,5 @@ unsigned long millis(); void initialize_mock_arduino(); + +#define F(string_literal) (string_literal) \ No newline at end of file diff --git a/extras/runtests.cpp b/extras/runtests.cpp index 6623cd5..0f325a8 100644 --- a/extras/runtests.cpp +++ b/extras/runtests.cpp @@ -34,6 +34,9 @@ void run_tests() { // Init the library: EMUcan emucan(0x600); + // Print the library version: + cout << "EMUcan version: " << EMUCAN_LIB_VERSION << endl; + // Check if the init was ok, status has to be fresh: if (emucan.EMUcan_Status() == EMUcan_FRESH) { cout << "EMUcan init ok" << endl; diff --git a/library.json b/library.json index 7c06b9e..29b5d5c 100644 --- a/library.json +++ b/library.json @@ -11,7 +11,7 @@ "type": "git", "url": "https://github.com/designer2k2/EMUcan" }, - "version": "2.0.0", + "version": "2.0.1", "license": "GPL-3.0-only", "frameworks": "arduino", "platforms": "*", diff --git a/library.properties b/library.properties index c2d91ab..1ee4ecd 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=EMUcan -version=2.0.0 +version=2.0.1 author=Stephan M. maintainer=Stephan M. sentence=ECUMaster EMU CAN Stream Reader Arduino Library diff --git a/src/EMUcan.h b/src/EMUcan.h index 5fb727f..65736ab 100644 --- a/src/EMUcan.h +++ b/src/EMUcan.h @@ -24,7 +24,7 @@ #ifndef _EMUcan_h #define _EMUcan_h -#define EMUCAN_LIB_VERSION (F("2.0.0")) +#define EMUCAN_LIB_VERSION (F("2.0.1")) // Available data struct emu_data_t {