Skip to content

Commit

Permalink
Change beginning of file comments to avoid creating doxygen tag for `…
Browse files Browse the repository at this point in the history
…esphome` namespace (esphome#3314)
  • Loading branch information
e28eta authored Mar 29, 2022
1 parent 6b9371d commit cf5c640
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
15 changes: 7 additions & 8 deletions esphome/components/rc522_spi/rc522_spi.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#pragma once

#include "esphome/core/component.h"
#include "esphome/components/rc522/rc522.h"
#include "esphome/components/spi/spi.h"

namespace esphome {
/**
* Library based on https://github.com/miguelbalboa/rfid
* and adapted to ESPHome by @glmnet
Expand All @@ -6,14 +13,6 @@
*
*
*/

#pragma once

#include "esphome/core/component.h"
#include "esphome/components/rc522/rc522.h"
#include "esphome/components/spi/spi.h"

namespace esphome {
namespace rc522_spi {

class RC522Spi : public rc522::RC522,
Expand Down
13 changes: 7 additions & 6 deletions esphome/components/sx1509/sx1509_registers.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
/******************************************************************************
/*
sx1509_registers.h
Register definitions for SX1509.
Jim Lindblom @ SparkFun Electronics
Original Creation Date: September 21, 2015
https://github.com/sparkfun/SparkFun_SX1509_Arduino_Library
*/
#pragma once

Here you'll find the Arduino code used to interface with the SX1509 I2C
namespace esphome {
/**
Here you'll find the Arduino code used to interface with the SX1509 I2C
16 I/O expander. There are functions to take advantage of everything the
SX1509 provides - input/output setting, writing pins high/low, reading
the input value of pins, LED driver utilities (blink, breath, pwm), and
Expand All @@ -20,10 +24,7 @@ This code is beerware; if you see me (or any other SparkFun employee) at the
local, and you've found our code helpful, please buy us a round!
Distributed as-is; no warranty is given.
******************************************************************************/
#pragma once

namespace esphome {
*/
namespace sx1509 {

const uint8_t REG_INPUT_DISABLE_B =
Expand Down

0 comments on commit cf5c640

Please sign in to comment.