mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-04 12:44:20 -04:00
Formatted code (#1007)
* Updated style * Updated files * fixed new line * Updated spacing * File fix WIP * Updated to clang 13 * updated comment style * Removed old comment code
This commit is contained in:
parent
7aca7ce74d
commit
033c4e9a5b
599 changed files with 70746 additions and 66896 deletions
|
@ -26,27 +26,27 @@
|
|||
namespace testapp {
|
||||
|
||||
size_t Packet::length() const {
|
||||
return decoder_.symbols_count();
|
||||
return decoder_.symbols_count();
|
||||
}
|
||||
|
||||
bool Packet::is_valid() const {
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
|
||||
Timestamp Packet::received_at() const {
|
||||
return packet_.timestamp();
|
||||
return packet_.timestamp();
|
||||
}
|
||||
|
||||
FormattedSymbols Packet::symbols_formatted() const {
|
||||
return format_symbols(decoder_);
|
||||
return format_symbols(decoder_);
|
||||
}
|
||||
|
||||
uint32_t Packet::value() const {
|
||||
return (reader_.read(10 * 8, 6) << 8) | reader_.read(9 * 8, 8);
|
||||
return (reader_.read(10 * 8, 6) << 8) | reader_.read(9 * 8, 8);
|
||||
}
|
||||
|
||||
uint32_t Packet::alt() const {
|
||||
return reader_.read(1 * 8, 12);
|
||||
return reader_.read(1 * 8, 12);
|
||||
}
|
||||
|
||||
} /* namespace testapp */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue