Skip to content

Commit ec59215

Browse files
fixing typo in macro name
1 parent 7192c70 commit ec59215

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
@@ -16,7 +16,7 @@
1616
#define MAX_UDP_AVAILABLE 4
1717

1818
#define ESP_FW_VERSION "0.4.1"
19-
#define FIRMWARE_MAYOR 0
19+
#define FIRMWARE_MAJOR 0
2020
#define FIRMWARE_MINOR 4
2121
#define FIRMWARE_PATCH 1
2222

0 commit comments

Comments
 (0)