diff --git a/examples/resource.rs b/examples/resource.rs
index f6c4e36be25785ab05d94eca614b110f2a13689d..9b2b3ea74c70e5e52fde75644bc5defca8086b78 100644
--- a/examples/resource.rs
+++ b/examples/resource.rs
@@ -32,7 +32,7 @@ app! {
 
         EXTI2: {
             path: exti2,
-            resources: [X, Y],
+            resources: [Y],
         },
     },
 }