Skip to content

Commit 4c76b90

Browse files
fixing typo in macro name
1 parent 05e08e0 commit 4c76b90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

UNOR4USBBridge/DAP.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class DAPHIDDevice: public USBHIDDevice {
4545
}
4646
}
4747
uint16_t _onGetFeature(uint8_t report_id, uint8_t* buffer, uint16_t len) {
48-
buffer[0] = FIRMWARE_MAYOR;
48+
buffer[0] = FIRMWARE_MAJOR;
4949
buffer[1] = FIRMWARE_MINOR;
5050
buffer[2] = FIRMWARE_PATCH;
5151
return 3;

UNOR4USBBridge/at_handler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#define MAX_UDP_AVAILABLE 4
1616

1717
#define ESP_FW_VERSION "0.4.1"
18-
#define FIRMWARE_MAYOR 0
18+
#define FIRMWARE_MAJOR 0
1919
#define FIRMWARE_MINOR 4
2020
#define FIRMWARE_PATCH 1
2121

0 commit comments

Comments
 (0)