1. Список говнокодов пользователя muromec

    Всего: 1

  2. Си / Говнокод #5169

    +123

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    //********henry+ disable battery command after select disable battery, 2010.8.5 add bypass more command when EC FW update
    if (iflag_disabel_battery==1 
            && pRequest->RequestType == NvEcRequestResponseType_Battery
            && pRequest->RequestType == NvEcRequestResponseType_System
            && pRequest->RequestType == NvEcRequestResponseType_Gpio
            && pRequest->RequestType == NvEcRequestResponseType_Sleep
            && pRequest->RequestType == NvEcRequestResponseType_Keyboard
            && pRequest->RequestType == NvEcRequestResponseType_AuxDevice){
            //NvOsDebugPrintf("Henry: disable Battery command request! \n");
            //return NvSuccess-1;
            return NvSuccess; //2010.6.29 fix EC TimeOut
    }
    //***********************************************************************************************

    Генри хуйни не сделает!

    muromec, 06 Января 2011

    Комментарии (2)