SmartRC-CC1101-Driver-Lib icon indicating copy to clipboard operation
SmartRC-CC1101-Driver-Lib copied to clipboard

how can a byte be greater than 255 ? This is always false.

Open ioteecs-team opened this issue 3 years ago • 1 comments

https://github.com/LSatan/SmartRC-CC1101-Driver-Lib/blob/b8c6af4c7c2214cd77a4e9b2e2cb37b24b393605/ELECHOUSE_CC1101_SRC_DRV.cpp#L533

ioteecs-team avatar Sep 20 '21 07:09 ioteecs-team

byte cannot be greater than 255, of course. this is a fragment from the old calculator where I was still working with int. there it happened at certain frequencies that the value was over 255. then it was subtracted and added to the correct freq value.

LSatan avatar Jan 25 '22 00:01 LSatan