aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--icetime/icetime.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/icetime/icetime.cc b/icetime/icetime.cc
index e872cbd..065705a 100644
--- a/icetime/icetime.cc
+++ b/icetime/icetime.cc
@@ -221,19 +221,19 @@ void read_pcf(const char *filename)
if (tok == nullptr || strcmp(tok, "set_io"))
continue;
- bool skip_next = false;
+ bool skip_next = false;
std::vector<std::string> args;
while ((tok = strtok(nullptr, " \t\r\n")) != nullptr) {
- if(skip_next) {
- skip_next = false;
- continue;
- }
+ if(skip_next) {
+ skip_next = false;
+ continue;
+ }
if (!strcmp(tok, "--warn-no-port"))
continue;
- if (!strcmp(tok, "-pullup") || !strcmp(tok, "-pullup_resistor")) {
- skip_next = true; // skip argument
- continue;
- }
+ if (!strcmp(tok, "-pullup") || !strcmp(tok, "-pullup_resistor")) {
+ skip_next = true; // skip argument
+ continue;
+ }
args.push_back(tok);
}