X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fdataflash_test.c;h=276f9f432079e2f5ce29b861bf6c05d759c05ae4;hb=a271c7198a59f307b43c74cc3f2741ece9bafcbc;hp=8e40168b1e4fd091bfd9097b1c1aaa5e6ce35ab2;hpb=d4b5073d22a2a8f0cfd26739eb57f35b5984e1bc;p=bertos.git diff --git a/bertos/drv/dataflash_test.c b/bertos/drv/dataflash_test.c index 8e40168b..276f9f43 100644 --- a/bertos/drv/dataflash_test.c +++ b/bertos/drv/dataflash_test.c @@ -45,7 +45,6 @@ * * * \version $Id$ - * * \author Daniele Basile */ @@ -58,8 +57,8 @@ #include // Define logging setting (for cfg/log.h module). -#define LOG_LEVEL DATAFLASH_LOG_LEVEL -#define LOG_VERBOSITY DATAFLASH_LOG_VERBOSITY +#define LOG_LEVEL DATAFLASH_LOG_LEVEL +#define LOG_FORMAT DATAFLASH_LOG_FORMAT #include // for logging system #include @@ -95,8 +94,8 @@ /* * Kfile structure to test a dataflash. */ -static SerialKFile spi_fd; -static DataFlashKFile dflash_fd; +static Serial spi_fd; +static DataFlash dflash_fd; /* * Define tmp buffer to stora data for