mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-25 16:50:44 +02:00
Mention the original cpp source from which STM32CRC.java was ported.
This commit is contained in:
parent
4ff57dfdab
commit
521dad8c14
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user