Ran formatter (#681)

This commit is contained in:
Tyler Veness
2017-10-26 19:28:59 -07:00
committed by Peter Johnson
parent ce4c9edd1f
commit 9945a5b3c6
12 changed files with 12 additions and 12 deletions

View File

@@ -226,7 +226,7 @@ void SerialHelper::QueryHubPaths(int32_t* status) {
// Using std::string because this is guarenteed to be large
std::string output = "";
std::shared_ptr<FILE> pipe(popen(val.c_str(), "r"), pclose);
std::shared_ptr<std::FILE> pipe(popen(val.c_str(), "r"), pclose);
// Just check the next item on a pipe failure
if (!pipe) continue;
while (!feof(pipe.get())) {

View File

@@ -22,4 +22,4 @@ typedef int halsim_extension_init_func_t(void);
extern "C" {
int HAL_LoadOneExtension(const char* library);
int HAL_LoadExtensions(void);
}
} // extern "C"

View File

@@ -35,5 +35,5 @@ int32_t HALSIM_RegisterI2CWriteCallback(int32_t index,
void HALSIM_CancelI2CWriteCallback(int32_t index, int32_t uid);
#ifdef __cplusplus
}
} // extern "C"
#endif

View File

@@ -48,5 +48,5 @@ void HALSIM_SetSPISetAccumulatorValue(int32_t index, int64_t value);
int64_t HALSIM_GetSPIGetAccumulatorValue(int32_t index);
#ifdef __cplusplus
}
} // extern "C"
#endif

View File

@@ -148,4 +148,4 @@ void HALSIM_CancelI2CWriteCallback(int32_t index, int32_t uid) {
SimI2CData[index].CancelWriteCallback(uid);
}
} // extern c
} // extern "C"

View File

@@ -244,4 +244,4 @@ int64_t HALSIM_GetSPIGetAccumulatorValue(int32_t index) {
return SimSPIData[index].GetAccumulatorValue();
}
} // extern c
} // extern "C"