Skip to content

Commit

Permalink
Add spaces in missing places :)
Browse files Browse the repository at this point in the history
  • Loading branch information
precla committed Jun 2, 2019
1 parent 51870c8 commit 26d6536
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/intel_undervolt.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ int measurePowerConsumption(char currPVals[][BUFSZSMALL], powercap_list_t *pcapL
return 0;
}

int getCpuTemp(char currTempVals[][BUFSZSMALL], hwmon_list_t *hwlst, int elCount, int *maxname){
int getCpuTemp(char currTempVals[][BUFSZSMALL], hwmon_list_t *hwlst, int elCount, int *maxname) {
char tmp[BUFSZSMALL];
int i = 0;
hwlst = getCoretemp(maxname);
Expand Down
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,10 @@ int main(void) {
powerMeasureThread pmt;

if (pthread_create(&ctid, NULL, measurePowAndTemp, (void *)&pmt) != 0) {
for (int i = 0; i < POWERVALEL; i++){
for (int i = 0; i < POWERVALEL; i++) {
pmt.currPowerVals[i][0] = '0';
}
for (int i = 0; i < TEMPERATUREEL; i++){
for (int i = 0; i < TEMPERATUREEL; i++) {
pmt.currTempVals[i][0] = '0';
}
}
Expand Down

0 comments on commit 26d6536

Please sign in to comment.