Skip to content

Commit

Permalink
chore: use less generic define for usb driver (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
andjordan authored Jun 12, 2024
1 parent 8eaf0d0 commit 34976ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hal_st/stm32fxxx/UsbLinkLayerStm.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "hal_st/stm32fxxx/UsbLinkLayerStm.hpp"
#include <cstdlib>

#ifdef HAS_PERIPHERAL_USB
#if defined(USB_OTG_FS)

extern "C" void OTG_FS_IRQHandler(void)
{
Expand Down
2 changes: 1 addition & 1 deletion hal_st/stm32fxxx/UsbLinkLayerStm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "hal_st/stm32fxxx/GpioStm.hpp"
#include "infra/util/InterfaceConnector.hpp"

#ifdef HAS_PERIPHERAL_USB
#if defined(USB_OTG_FS)

namespace hal
{
Expand Down

0 comments on commit 34976ab

Please sign in to comment.