diff --git a/miosix/filesystem/littlefs/lfs_miosix.h b/miosix/filesystem/littlefs/lfs_miosix.h index 88c499974e3d461afcf478cde8953f498caa7cd9..bfb483a02691d7c7553bf7674688bc6145586501 100644 --- a/miosix/filesystem/littlefs/lfs_miosix.h +++ b/miosix/filesystem/littlefs/lfs_miosix.h @@ -164,7 +164,7 @@ private: struct lfs_config config; lfs_t lfs; - lfs_file_t file; + // lfs_file_t file; lfs_driver_context context; }; diff --git a/miosix/util/lcd44780.cpp b/miosix/util/lcd44780.cpp index 7c14b66341aa54164a6583f8ec11b8b1d91388b5..a600c62d84fa8d628a04baca221a69dc8b00de0a 100644 --- a/miosix/util/lcd44780.cpp +++ b/miosix/util/lcd44780.cpp @@ -11,7 +11,7 @@ namespace { /// enables increment mode. constexpr unsigned char cmdClear=0x01; /// Sets cursor address to 0 and resets scrolling -constexpr unsigned char cmdHome=0x02; +// constexpr unsigned char cmdHome=0x02; /// Configures display update behaviour at every data byte sent. /// \param dir 0: decrement data RAM address at every byte sent /// 1: increment data RAM address at every byte sent @@ -32,10 +32,10 @@ constexpr unsigned char cmdEnable(unsigned char disp, unsigned char cur) /// Move the cursor or scroll the display by 1 character forwards or backwards /// \param shift 0: moves the cursor, 1: scrolls the display /// \param rl 0: left (increment), 1: right (decrement) -constexpr unsigned char cmdShift(unsigned char shift, unsigned char dir) -{ - return 0x10 | (shift<<3) | (dir<<2); -} +// constexpr unsigned char cmdShift(unsigned char shift, unsigned char dir) +// { +// return 0x10 | (shift<<3) | (dir<<2); +// } /// Configures the controller for the display /// \param dl Data length /// 0: 4 bit, 1: 8 bit