make astyle

pull/365/head
Jesse Vincent 8 years ago
parent 59c361e6c8
commit e3dc58f384
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -44,8 +44,7 @@ CRC_::reflect (uint8_t len) {
} }
void void
CRC_::update (const void *data, uint8_t len) CRC_::update (const void *data, uint8_t len) {
{
const uint8_t *d = (const uint8_t *)data; const uint8_t *d = (const uint8_t *)data;
uint8_t i; uint8_t i;
bool bit; bool bit;

@ -38,7 +38,9 @@ class CRC_ {
CRC_ (void) {}; CRC_ (void) {};
void update (const void *data, uint8_t len); void update (const void *data, uint8_t len);
void finalize (void) { reflect (16); }; void finalize (void) {
reflect (16);
};
void reflect (uint8_t len); void reflect (uint8_t len);
}; };

Loading…
Cancel
Save