Skip to content

Commit 516205f

Browse files
authored
Merge pull request #142 from ROBOTIS-GIT/feature_dy
0.8.0
2 parents f8a4f2a + 54ff758 commit 516205f

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name=Dynamixel2Arduino
2-
version=0.7.0
2+
version=0.8.0
33
author=ROBOTIS
44
license=Apache-2.0
5-
maintainer=HongHyun Kim(khh@robotis.com)
5+
maintainer=Sookyung Son(sukaa@robotis.com)
66
sentence=DYNAMIXEL protocol Library for Arduino
77
paragraph=This library helps the Arduino boards to communicate with DYNAMIXEL protocol.
88
category=Communication

src/dxl_c/protocol.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#define pgm_read_word_near(x) (*(uint16_t*)(x))
1313
#endif
1414

15+
using namespace DYNAMIXEL;
1516

1617
// 2.0 Protocol
1718
#define DXL2_0_PACKET_IDX_HEADER_1 0

src/dxl_c/protocol.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ struct InfoBulkWriteInst_t {
9797
InfoSyncBulkBuffer_t packet;
9898
} __attribute__((packed));
9999

100-
}
101-
102-
using namespace DYNAMIXEL;
100+
} // namespace DYNAMIXEL
103101

104102
#ifdef __cplusplus
105103
extern "C" {
@@ -258,7 +256,7 @@ DXLLibErrorCode_t parse_dxl_packet(InfoToParseDXLPacket_t* p_parse_packet, uint8
258256
DXLLibErrorCode_t fast_begin_parse_dxl_packet(InfoToParseDXLPacket_t* p_parse_packet,
259257
uint8_t protocol_ver);//, uint8_t* p_param_buf, uint16_t param_buf_cap, uint8_t xel_count);
260258
DXLLibErrorCode_t fast_parse_dxl_packet(InfoToParseDXLPacket_t* p_parse_packet, uint8_t recv_data,
261-
InfoSyncReadInst_t *sync_read, InfoBulkReadInst_t *bulk_read);
259+
DYNAMIXEL::InfoSyncReadInst_t *sync_read, DYNAMIXEL::InfoBulkReadInst_t *bulk_read);
262260

263261
#ifdef __cplusplus
264262
}

0 commit comments

Comments
 (0)