JoaoLopesF / SerialDebug

Improved serial debug and simple software debugger to Arduino. With debug levels, see/change global variables, call functions, watches, and more.
MIT License
244 stars 39 forks source link

"Typo" error in debugAddGlobalIntxxx() Methods leads to wring datatype #10

Open SokoFromNZ opened 5 years ago

SokoFromNZ commented 5 years ago

Hi,

Just used your great library and found a small bug I thought I should report:

I was adding a int16 variable using debugAddGlobalInt16_t(...) but the App showed me the variable as uint16.

By checking your source I found the error in SerialDebug.cpp: In the rows 2417, 2421 and 2425 as well as 2523, 2527 and 2531 you use the wrong value for parameter 3.

I've corrected it already locally for me. Would be great if you can take 50 seconds to do the same on your side so my local changes won't be reverted with your next version :)

thx Soko