1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 20:36:51 +01:00

Mention the original cpp source from which STM32CRC.java was ported.

This commit is contained in:
Andreas Shimokawa 2015-04-10 22:10:55 +02:00
parent 4ff57dfdab
commit 521dad8c14

View File

@ -3,6 +3,12 @@ package nodomain.freeyourgadget.gadgetbridge.pebble;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
/*
* This code was ported to java from the following cpp source file
* https://github.com/smokku/pebble/blob/8f0905197f7cead299c00006ada482095fe9d1a4/daemon/stm32crc.cpp
* (Unofficial Pebble watch support for SailfishOS/Jolla)
*/
public class STM32CRC {
private int crc;
private byte rem;