format slsdetectorservers

This commit is contained in:
2020-05-05 15:23:11 +02:00
parent 31ec3c8cf7
commit 671cf45fd7
49 changed files with 3750 additions and 3409 deletions

View File

@ -1,7 +1,7 @@
#pragma once
#include <stdio.h>
#include <stdint.h>
#include <stdio.h>
/**
* Define GPIO pins if not defined
@ -34,14 +34,14 @@ void eraseFlash();
* @param filefp pointer to flash
* @return 0 for success, 1 for fail (cannot open file for writing program)
*/
int startWritingFPGAprogram(FILE** filefp);
int startWritingFPGAprogram(FILE **filefp);
/**
* When done writing the program, close file pointer and
* notify FPGA to pick up the program from flash
* @param filefp pointer to flash
*/
void stopWritingFPGAprogram(FILE* filefp);
void stopWritingFPGAprogram(FILE *filefp);
/**
* Write FPGA Program to flash
@ -50,4 +50,4 @@ void stopWritingFPGAprogram(FILE* filefp);
* @param filefp pointer to flash
* @return 0 for success, 1 for fail (cannot write)
*/
int writeFPGAProgram(char* fpgasrc, uint64_t fsize, FILE* filefp);
int writeFPGAProgram(char *fpgasrc, uint64_t fsize, FILE *filefp);