* Fixed most compilation warnings (Compiler warning level: All) * Fixed a delay issue in enc_read function.