Skip to content

Commit 87ae758

Browse files
obraclaude
andcommitted
Fix hooks.h friend declaration for MCU drivers
Changed from device-specific nRF52840 friend declaration to the templated MCU Base class to avoid breaking compilation for non-nRF52 devices. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 2d5a70e commit 87ae758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kaleidoscope/hooks.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Hooks {
7171
friend class plugin::LEDControl;
7272
friend class driver::ble::BLEBluefruit; // Allow BLEBluefruit to trigger hooks
7373
template<typename _Props>
74-
friend class driver::mcu::nRF52840; // Allow nRF52840 to trigger USB connection hooks
74+
friend class driver::mcu::Base; // Allow MCU drivers to trigger USB connection hooks
7575
friend void sketch_exploration::pluginsExploreSketch();
7676

7777
private:

0 commit comments

Comments
 (0)