Skip to content

Commit 6359d51

Browse files
authored
bump to 2.0.1 and add version call to unit test
unit test now also checks EMUCAN_LIB_VERSION bump to version 2.0.1
1 parent 33a03a1 commit 6359d51

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

extras/WProgram.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@
2828
unsigned long millis();
2929

3030
void initialize_mock_arduino();
31+
32+
#define F(string_literal) (string_literal)

extras/runtests.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ void run_tests() {
3434
// Init the library:
3535
EMUcan emucan(0x600);
3636

37+
// Print the library version:
38+
cout << "EMUcan version: " << EMUCAN_LIB_VERSION << endl;
39+
3740
// Check if the init was ok, status has to be fresh:
3841
if (emucan.EMUcan_Status() == EMUcan_FRESH) {
3942
cout << "EMUcan init ok" << endl;

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"type": "git",
1212
"url": "https://github.com/designer2k2/EMUcan"
1313
},
14-
"version": "2.0.0",
14+
"version": "2.0.1",
1515
"license": "GPL-3.0-only",
1616
"frameworks": "arduino",
1717
"platforms": "*",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=EMUcan
2-
version=2.0.0
2+
version=2.0.1
33
author=Stephan M. <designer2k2@gmail.com>
44
maintainer=Stephan M. <designer2k2@gmail.com>
55
sentence=ECUMaster EMU CAN Stream Reader Arduino Library

src/EMUcan.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#ifndef _EMUcan_h
2525
#define _EMUcan_h
2626

27-
#define EMUCAN_LIB_VERSION (F("2.0.0"))
27+
#define EMUCAN_LIB_VERSION (F("2.0.1"))
2828

2929
// Available data
3030
struct emu_data_t {

0 commit comments

Comments
 (0)