Skip to content

Commit a570cee

Browse files
committed
extras: fix format
1 parent 93a2fbf commit a570cee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mavros_extras/src/plugins/open_drone_id.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ class OpenDroneIDPlugin : public plugin::Plugin
174174
template<size_t _N>
175175
void set_string_z(std::array<uint8_t, _N> & a, const std::string & s)
176176
{
177-
uint8_t* datap = a.data();
178-
strncpy(static_cast<char*>(static_cast<void*>(datap)), s.c_str(), a.size() - 1);
177+
uint8_t * datap = a.data();
178+
strncpy(static_cast<char *>(static_cast<void *>(datap)), s.c_str(), a.size() - 1);
179179
a[a.size() - 1] = '\0';
180180
}
181181

0 commit comments

Comments
 (0)