Code Cleanup
ClosedPublic

Authored by rizzitello on Sep 5 2018, 12:32 AM.

Details

Summary

Clean up some type conversion warnings and other small warnings.

  • Use int32_t for baud
  • SerialTimerInterval now int
  • Remove unneeded semicolons
  • Remove unused object from lambda
  • Remove unneeded semicolons and update documents incorrect data
  • Use int for progressBar progress
  • Remove double referance

Diff Detail

Repository
R232 AtCore
Branch
warningCleanup
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 2528
Build 2546: arc lint + arc unit
rizzitello requested review of this revision.Sep 5 2018, 12:32 AM
rizzitello created this revision.
rizzitello retitled this revision from Summary: Clean up some type conversion warnings and other small warnings. to Code Cleanup.Sep 5 2018, 12:33 AM
rizzitello edited the summary of this revision. (Show Details)
rizzitello added a project: Atelier: AtCore.
rizzitello added a subscriber: Atelier: AtCore.
patrickelectric requested changes to this revision.Sep 5 2018, 12:44 AM
patrickelectric added inline comments.
src/core/seriallayer.h
79

uint32_t

This revision now requires changes to proceed.Sep 5 2018, 12:44 AM
rizzitello marked an inline comment as done.Sep 5 2018, 12:46 AM
rizzitello added inline comments.
src/core/seriallayer.h
79

QSerialPort::setBaud takes a qint32 this removes the warning for the conversion to uint

http://doc.qt.io/qt-5/qserialport.html#baudRate-prop

rizzitello updated this revision to Diff 41049.Sep 5 2018, 12:06 PM
rizzitello marked an inline comment as done.
  • Use int32_t for baud
patrickelectric accepted this revision.Sep 5 2018, 12:10 PM
This revision is now accepted and ready to land.Sep 5 2018, 12:10 PM
rizzitello marked an inline comment as done.Sep 6 2018, 12:00 AM
rizzitello edited the summary of this revision. (Show Details)Sep 6 2018, 10:55 AM
tcanabrava accepted this revision.Sep 14 2018, 9:22 PM
laysrodrigues accepted this revision.Sep 14 2018, 9:25 PM
rizzitello closed this revision.Sep 15 2018, 12:10 AM