Skip to content

Commit

Permalink
consistent use of camelcase
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec42 committed Jul 7, 2015
1 parent 924a021 commit b5447d0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bootloader/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ int main(uint32_t startloc) {
SETUPgout(LED3);
SETUPgout(LED4);
inputInit();
flash_init();
flashInit();

lcdInit();
fsInit();
Expand Down
2 changes: 1 addition & 1 deletion fatfs/diskio.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ DSTATUS disk_initialize (
switch (pdrv) {
case FLASH :
#endif
flash_init();
flashInit();
return RES_OK;

#ifdef CFG_HAVE_SD
Expand Down
2 changes: 1 addition & 1 deletion feldtest/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ void doFlash(){
uint8_t data[256];
uint8_t x=0;

flash_init();
flashInit();

lcdClear(0xff);
lcdPrint("xxd @ "); lcdPrint(IntToStr(addr,8,F_HEX));lcdNl();
Expand Down
2 changes: 1 addition & 1 deletion feldtest/msc_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ int dwim(void)
ErrorCode_t ret = LPC_OK;
USB_CORE_CTRL_T *pCtrl;

flash_init();
flashInit();

/* Initialize board and chip */
// SystemCoreClockUpdate();
Expand Down
2 changes: 1 addition & 1 deletion rad1olib/spi-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ uint8_t flash_status2(void){
return data;
};

void flash_init(void){
void flashInit(void){
RESET_CTRL1 = RESET_CTRL1_SPIFI_RST;

/* Init SPIFI */
Expand Down
2 changes: 1 addition & 1 deletion rad1olib/spi-flash.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
void flash_wait_write();
uint8_t flash_status1(void);
uint8_t flash_status2(void);
void flash_init(void);
void flashInit(void);
void flash_read(uint32_t addr, uint32_t len, uint8_t * data);
void flash_read_sector(uint32_t addr, uint32_t * data);
void flash_write_enable(void);
Expand Down

0 comments on commit b5447d0

Please sign in to comment.