lkml.org 
[lkml]   [2011]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] lib: crc8: add new library module providing crc8
    On 05/22/2011 05:25 PM, George Spelvin wrote:
    > #define POLY 0xAB /* 1 + x^2 + x^4 + x^6 + x^7 (+ x^8) */
    > typedef uint8_t crc_type; /* Must be an unsigned type */
    >

    I think I understand the code a bit better. Your code is generic for any
    given crc_type.

    Gr. AvS

    --
    Almost nobody dances sober, unless they happen to be insane.
    -- H.P. Lovecraft --




    \
     
     \ /
      Last update: 2011-05-23 22:23    [W:0.019 / U:90.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site