Skip to content

Commit a31833d

Browse files
committed
clang fix
1 parent 7afe132 commit a31833d

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/board_controller/ant_neuro/ant_neuro.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ int AntNeuroBoard::prepare_session ()
117117
if ((!expected_board_name.empty () && current_board_name != expected_board_name) ||
118118
(!expected_serial_number.empty () && current_serial != expected_serial_number))
119119
{
120-
safe_logger (spdlog::level::info, "Found non-matching amplifier (board name {}, serial {})",
120+
safe_logger (spdlog::level::info,
121+
"Found non-matching amplifier (board name {}, serial {})",
121122
current_board_name, current_serial);
122123
delete current_amp;
123124
continue;
@@ -133,7 +134,8 @@ int AntNeuroBoard::prepare_session ()
133134
// Check if amplifier is found
134135
if (amp == NULL)
135136
{
136-
throw exceptions::notFound ("no amplifier matched the given board name and serial number.");
137+
throw exceptions::notFound (
138+
"no amplifier matched the given board name and serial number.");
137139
}
138140

139141
// Clean up remaining amplifiers after the selected one
@@ -142,7 +144,8 @@ int AntNeuroBoard::prepare_session ()
142144
amplifier *current_amp = *iter;
143145
std::string current_board_name = "AntNeuro" + current_amp->getType ();
144146
std::string current_serial = current_amp->getSerialNumber ();
145-
safe_logger (spdlog::level::info, "Found non-matching amplifier (board name {}, serial {})",
147+
safe_logger (spdlog::level::info,
148+
"Found non-matching amplifier (board name {}, serial {})",
146149
current_board_name, current_serial);
147150
delete current_amp;
148151
}

0 commit comments

Comments
 (0)